unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72486: 31.0.50; string> not documented in the lispref manual
@ 2024-08-06  4:22 Ulrich Mueller
  2024-08-06 11:45 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Mueller @ 2024-08-06  4:22 UTC (permalink / raw)
  To: 72486

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]

Section 4.5 "Comparison of Characters and Strings" has string<,
string-lessp and string-greaterp, but string> is missing.

Trivial patch attached.


[-- Attachment #2: 0001-doc-lispref-strings.texi-Text-Comparison-Document-st.patch --]
[-- Type: text/plain, Size: 1108 bytes --]

From eab9317546b5d7d7e66668a7cf1e77a4a69d052f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Tue, 6 Aug 2024 06:18:53 +0200
Subject: [PATCH] * doc/lispref/strings.texi (Text Comparison): Document
 'string>'.

---
 doc/lispref/strings.texi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 06094e45aad..36974b9e4b5 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -655,10 +655,14 @@ Text Comparison
 @code{string-lessp} is another name for @code{string<}.
 @end defun
 
-@defun string-greaterp string1 string2
+@defun string> string1 string2
 This function returns the result of comparing @var{string1} and
 @var{string2} in the opposite order, i.e., it is equivalent to calling
-@code{(string-lessp @var{string2} @var{string1})}.
+@code{(string< @var{string2} @var{string1})}.
+@end defun
+
+@defun string-greaterp string1 string2
+@code{string-greaterp} is another name for @code{string>}.
 @end defun
 
 @cindex locale-dependent string comparison
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-06 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06  4:22 bug#72486: 31.0.50; string> not documented in the lispref manual Ulrich Mueller
2024-08-06 11:45 ` Eli Zaretskii
2024-08-06 16:08   ` Ulrich Mueller
2024-08-06 16:27     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).