From 6b9eac67590cf4396cdde5a21ace8e96d30a1ea2 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 9 Jun 2020 02:28:53 +0300 Subject: [PATCH] * 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 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, '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 6d7600e414c..1555b376a36 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")) -- 2.39.5