From 6c187ed6b0a2b103ebb55a5f037073c8c31492b3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 18 Apr 2020 19:26:30 +0300 Subject: [PATCH] Improve documentation of 'sort-lines' * lisp/sort.el (sort-lines): Clarify the interactive invocation. (Bug#40697) --- lisp/sort.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2