summaryrefslogtreecommitdiff
path: root/lisp/sort.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-04-18 19:26:30 +0300
committerEli Zaretskii <eliz@gnu.org>2020-04-18 19:26:30 +0300
commit6c187ed6b0a2b103ebb55a5f037073c8c31492b3 (patch)
tree4d7a515012a9d90aa4ee32bf96ae5dc4ace1df58 /lisp/sort.el
parent52288f4b66c0a4ac8ad90c6612e651f63d33c706 (diff)
downloademacs-6c187ed6b0a2b103ebb55a5f037073c8c31492b3.tar.gz
Improve documentation of 'sort-lines'
* lisp/sort.el (sort-lines): Clarify the interactive invocation. (Bug#40697)
Diffstat (limited to 'lisp/sort.el')
-rw-r--r--lisp/sort.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/sort.el b/lisp/sort.el
index e4ff2afb3d7..de0e1b9519d 100644
--- a/lisp/sort.el
+++ b/lisp/sort.el
@@ -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