]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/simple.el (shell-command-on-region): Fix docstring.
authorJuri Linkov <juri@linkov.net>
Mon, 8 Jun 2020 23:28:53 +0000 (02:28 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 8 Jun 2020 23:28:53 +0000 (02:28 +0300)
* 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
lisp/simple.el

index 58bd491753adf45a360f7440c85bd2a804aab91b..10a6e3946e7389039fe8e4ce05f45d7e1fe1947d 100644 (file)
--- 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.
index 6d7600e414caaa1831bcd3a615df6f848f9a9b31..1555b376a36a30215515de8d7a90b8b13984eb49 100644 (file)
@@ -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"))