From: Eli Zaretskii Date: Sat, 18 Apr 2020 16:26:30 +0000 (+0300) Subject: Improve documentation of 'sort-lines' X-Git-Tag: emacs-27.1-rc1~215 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c187ed6b0;p=emacs.git Improve documentation of 'sort-lines' * lisp/sort.el (sort-lines): Clarify the interactive invocation. (Bug#40697) --- 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