aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-06-20 21:37:27 +0000
committerKim F. Storm2005-06-20 21:37:27 +0000
commit5c796e808c3b95dbcd9c2dc149ebe36f6d4e4908 (patch)
treeaf5a10f59c12b0ebd01289cc224382d8f6a11f2d
parentfb056befe7c785302eb13e524fc57b18c66613c0 (diff)
downloademacs-5c796e808c3b95dbcd9c2dc149ebe36f6d4e4908.tar.gz
emacs-5c796e808c3b95dbcd9c2dc149ebe36f6d4e4908.zip
(Fsort): Doc fix.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--src/fns.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 4e42455b741..aae18d542fa 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12005-06-20 Kim F. Storm <storm@cua.dk>
2
3 * lists.texi (Rearrangement): Sort predicate may just return non-nil.
4
12005-06-20 Karl Berry <karl@gnu.org> 52005-06-20 Karl Berry <karl@gnu.org>
2 6
3 * syntax.texi (Syntax Flags): Make last column very slightly wider 7 * syntax.texi (Syntax Flags): Make last column very slightly wider
diff --git a/src/fns.c b/src/fns.c
index a36789b4a92..792f94189d1 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1892,7 +1892,7 @@ Lisp_Object merge ();
1892DEFUN ("sort", Fsort, Ssort, 2, 2, 0, 1892DEFUN ("sort", Fsort, Ssort, 2, 2, 0,
1893 doc: /* Sort LIST, stably, comparing elements using PREDICATE. 1893 doc: /* Sort LIST, stably, comparing elements using PREDICATE.
1894Returns the sorted list. LIST is modified by side effects. 1894Returns the sorted list. LIST is modified by side effects.
1895PREDICATE is called with two elements of LIST, and should return t 1895PREDICATE is called with two elements of LIST, and should return non-nil
1896if the first element is "less" than the second. */) 1896if the first element is "less" than the second. */)
1897 (list, predicate) 1897 (list, predicate)
1898 Lisp_Object list, predicate; 1898 Lisp_Object list, predicate;