diff options
| author | Daniel Colascione | 2014-09-14 22:09:44 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2014-09-14 22:09:44 -0700 |
| commit | 497daa12743ed71a70e41f966631d1c8856248cc (patch) | |
| tree | 8b9fa55592a898b8d194e879e591b2c589528e21 /src | |
| parent | fc68497a79d0ac120545cb7c48e1f91c27111472 (diff) | |
| download | emacs-497daa12743ed71a70e41f966631d1c8856248cc.tar.gz emacs-497daa12743ed71a70e41f966631d1c8856248cc.zip | |
Tweak sort docstring
* fns.c (Fsort): Tweak sort docstring.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fns.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5f1dfbfe785..5dc1d912caf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-09-15 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * fns.c (Fsort): Tweak sort docstring. | ||
| 4 | |||
| 1 | 2014-09-15 Eli Zaretskii <eliz@gnu.org> | 5 | 2014-09-15 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes. | 7 | * w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes. |
| @@ -2005,10 +2005,10 @@ sort_vector (Lisp_Object vector, Lisp_Object predicate) | |||
| 2005 | 2005 | ||
| 2006 | DEFUN ("sort", Fsort, Ssort, 2, 2, 0, | 2006 | DEFUN ("sort", Fsort, Ssort, 2, 2, 0, |
| 2007 | doc: /* Sort SEQ, stably, comparing elements using PREDICATE. | 2007 | doc: /* Sort SEQ, stably, comparing elements using PREDICATE. |
| 2008 | Returns the sorted sequence. SEQ should be a list or vector. | 2008 | Returns the sorted sequence. SEQ should be a list or vector. SEQ is |
| 2009 | If SEQ is a list, it is modified by side effects. PREDICATE | 2009 | modified by side effects. PREDICATE is called with two elements of |
| 2010 | is called with two elements of SEQ, and should return non-nil | 2010 | SEQ, and should return non-nil if the first element should sort before |
| 2011 | if the first element should sort before the second. */) | 2011 | the second. */) |
| 2012 | (Lisp_Object seq, Lisp_Object predicate) | 2012 | (Lisp_Object seq, Lisp_Object predicate) |
| 2013 | { | 2013 | { |
| 2014 | if (CONSP (seq)) | 2014 | if (CONSP (seq)) |