aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1992-11-03 22:25:28 +0000
committerRichard M. Stallman1992-11-03 22:25:28 +0000
commit23317eaca1845f07f2f3d53026953b20c919d8d8 (patch)
tree489b5b3f8de1bf77b8b9e2ba011f581849a4f7b4
parentfcec83fbc89c3decd1c46720b23386ed43c8786d (diff)
downloademacs-23317eaca1845f07f2f3d53026953b20c919d8d8.tar.gz
emacs-23317eaca1845f07f2f3d53026953b20c919d8d8.zip
(insert-rectangle): Put mark at upper left corner.
-rw-r--r--lisp/rect.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/rect.el b/lisp/rect.el
index 34ec7d23b2e..99e698f2810 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -155,10 +155,13 @@ But in programs you might prefer to use `delete-extract-rectangle'."
155 "Insert text of RECTANGLE with upper left corner at point. 155 "Insert text of RECTANGLE with upper left corner at point.
156RECTANGLE's first line is inserted at point, its second 156RECTANGLE's first line is inserted at point, its second
157line is inserted at a point vertically under point, etc. 157line is inserted at a point vertically under point, etc.
158RECTANGLE should be a list of strings." 158RECTANGLE should be a list of strings.
159After this command, the mark is at the upper left corner
160and point is at the lower right corner."
159 (let ((lines rectangle) 161 (let ((lines rectangle)
160 (insertcolumn (current-column)) 162 (insertcolumn (current-column))
161 (first t)) 163 (first t))
164 (push-mark)
162 (while lines 165 (while lines
163 (or first 166 (or first
164 (progn 167 (progn