aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2020-06-09 02:28:53 +0300
committerJuri Linkov2020-06-09 02:28:53 +0300
commit6b9eac67590cf4396cdde5a21ace8e96d30a1ea2 (patch)
tree88bc1de9f9624591f05346e2eb76be6667335cc9
parent43ad7dc1af327486963e5e3a3ae8efdb454fd38d (diff)
downloademacs-6b9eac67590cf4396cdde5a21ace8e96d30a1ea2.tar.gz
emacs-6b9eac67590cf4396cdde5a21ace8e96d30a1ea2.zip
* 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'.
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/simple.el7
2 files changed, 8 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 58bd491753a..10a6e3946e7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -956,8 +956,8 @@ displays the buffer from the next command in that window. For example,
956'S-M-right C-h i' displays the "*Info*" buffer in the right window, 956'S-M-right C-h i' displays the "*Info*" buffer in the right window,
957creating the window if necessary. A special key can be customized to 957creating the window if necessary. A special key can be customized to
958display the buffer in the same window, for example, 'S-M-0 C-h e' 958display the buffer in the same window, for example, 'S-M-0 C-h e'
959displays the "*Messages*" buffer in the same window. 'S-M-t C-h C-n' 959displays the "*Messages*" buffer in the same window. 'S-M-t C-h r'
960displays NEWS in a new tab. 960displays the Emacs manual in a new tab.
961 961
962+++ 962+++
963*** Windmove also supports directional window deletion. 963*** Windmove also supports directional window deletion.
diff --git a/lisp/simple.el b/lisp/simple.el
index 6d7600e414c..1555b376a36 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3914,7 +3914,12 @@ is used for ERROR-BUFFER.
3914 3914
3915Optional seventh arg DISPLAY-ERROR-BUFFER, if non-nil, means to 3915Optional seventh arg DISPLAY-ERROR-BUFFER, if non-nil, means to
3916display the error buffer if there were any errors. When called 3916display the error buffer if there were any errors. When called
3917interactively, this is t." 3917interactively, this is t.
3918
3919Non-nil REGION-NONCONTIGUOUS-P means that the region is composed of
3920noncontiguous pieces. The most common example of this is a
3921rectangular region, where the pieces are separated by newline
3922characters."
3918 (interactive (let (string) 3923 (interactive (let (string)
3919 (unless (mark) 3924 (unless (mark)
3920 (user-error "The mark is not set now, so there is no region")) 3925 (user-error "The mark is not set now, so there is no region"))