diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-04-18 19:26:30 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-04-18 19:26:30 +0300 |
commit | 6c187ed6b0a2b103ebb55a5f037073c8c31492b3 (patch) | |
tree | 4d7a515012a9d90aa4ee32bf96ae5dc4ace1df58 /lisp/sort.el | |
parent | 52288f4b66c0a4ac8ad90c6612e651f63d33c706 (diff) | |
download | emacs-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.el | 3 |
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 |