]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of 'sort-lines'
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Apr 2020 16:26:30 +0000 (19:26 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Apr 2020 16:26:30 +0000 (19:26 +0300)
* lisp/sort.el (sort-lines): Clarify the interactive invocation.
(Bug#40697)

lisp/sort.el

index e4ff2afb3d711589275d8955e85640c8a1b23a58..de0e1b9519d2da38f37c4aa4100634adb8c19875 100644 (file)
@@ -198,7 +198,8 @@ as start and end positions), and with `string<' otherwise."
 
 ;;;###autoload
 (defun sort-lines (reverse beg end)
-  "Sort lines in region alphabetically; argument means descending order.
+  "Sort lines in region alphabetically; REVERSE non-nil means descending order.
+Interactively, REVERSE is the prefix argument, and BEG and END are the region.
 Called from a program, there are three arguments:
 REVERSE (non-nil means reverse order), BEG and END (region to sort).
 The variable `sort-fold-case' determines whether alphabetic case affects