emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 6b9eac6: * lisp/simple.el (shell-command-on-region): Fix docstr


From: Juri Linkov
Subject: emacs-27 6b9eac6: * lisp/simple.el (shell-command-on-region): Fix docstring.
Date: Mon, 8 Jun 2020 19:29:00 -0400 (EDT)

branch: emacs-27
commit 6b9eac67590cf4396cdde5a21ace8e96d30a1ea2
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/simple.el (shell-command-on-region): Fix docstring.
    
    * lisp/simple.el (shell-command-on-region): Mention REGION-NONCONTIGUOUS-P
    in docstring (bug#41440)
    
    * etc/NEWS: Better example for 'windmove-display-default-keybindings'.
---
 etc/NEWS       | 4 ++--
 lisp/simple.el | 7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 58bd491..10a6e39 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -956,8 +956,8 @@ displays the buffer from the next command in that window.  
For example,
 'S-M-right C-h i' displays the "*Info*" buffer in the right window,
 creating the window if necessary.  A special key can be customized to
 display the buffer in the same window, for example, 'S-M-0 C-h e'
-displays the "*Messages*" buffer in the same window.  'S-M-t C-h C-n'
-displays NEWS in a new tab.
+displays the "*Messages*" buffer in the same window.  'S-M-t C-h r'
+displays the Emacs manual in a new tab.
 
 +++
 *** Windmove also supports directional window deletion.
diff --git a/lisp/simple.el b/lisp/simple.el
index 6d7600e..1555b37 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3914,7 +3914,12 @@ is used for ERROR-BUFFER.
 
 Optional seventh arg DISPLAY-ERROR-BUFFER, if non-nil, means to
 display the error buffer if there were any errors.  When called
-interactively, this is t."
+interactively, this is t.
+
+Non-nil REGION-NONCONTIGUOUS-P means that the region is composed of
+noncontiguous pieces.  The most common example of this is a
+rectangular region, where the pieces are separated by newline
+characters."
   (interactive (let (string)
                 (unless (mark)
                   (user-error "The mark is not set now, so there is no 
region"))



reply via email to

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