emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 6c187ed: Improve documentation of 'sort-lines'


From: Eli Zaretskii
Subject: emacs-27 6c187ed: Improve documentation of 'sort-lines'
Date: Sat, 18 Apr 2020 12:27:20 -0400 (EDT)

branch: emacs-27
commit 6c187ed6b0a2b103ebb55a5f037073c8c31492b3
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 e4ff2af..de0e1b9 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]