summaryrefslogtreecommitdiff
path: root/lisp/rect.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-10-15 17:09:09 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-10-16 20:10:55 -0400
commit20cc68e871b8903a603aa4a89d2bc648d010781a (patch)
treebe943828a82a83feb468eba6016647be5d6ef267 /lisp/rect.el
parenta0b7b301dd32ea02b00a3ffb477c8a6074071f74 (diff)
downloademacs-20cc68e871b8903a603aa4a89d2bc648d010781a.tar.gz
Document rectangle-preview option more (Bug#27974)
* lisp/rect.el (string-rectangle): * etc/NEWS.25: Mention `rectangle-preview'.
Diffstat (limited to 'lisp/rect.el')
-rw-r--r--lisp/rect.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/rect.el b/lisp/rect.el
index 12e62b6a990..a62ed95b715 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -450,6 +450,10 @@ With a prefix (or a FILL) argument, also fill too short lines."
"Replace rectangle contents with STRING on each line.
The length of STRING need not be the same as the rectangle width.
+When called interactively and option `rectangle-preview' is
+non-nil, display the result as the user enters the string into
+the minibuffer.
+
Called from a program, takes three args; START, END and STRING."
(interactive
(progn