diff options
| author | Richard M. Stallman | 1992-11-03 22:25:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-11-03 22:25:28 +0000 |
| commit | 23317eaca1845f07f2f3d53026953b20c919d8d8 (patch) | |
| tree | 489b5b3f8de1bf77b8b9e2ba011f581849a4f7b4 | |
| parent | fcec83fbc89c3decd1c46720b23386ed43c8786d (diff) | |
| download | emacs-23317eaca1845f07f2f3d53026953b20c919d8d8.tar.gz emacs-23317eaca1845f07f2f3d53026953b20c919d8d8.zip | |
(insert-rectangle): Put mark at upper left corner.
| -rw-r--r-- | lisp/rect.el | 5 |
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. |
| 156 | RECTANGLE's first line is inserted at point, its second | 156 | RECTANGLE's first line is inserted at point, its second |
| 157 | line is inserted at a point vertically under point, etc. | 157 | line is inserted at a point vertically under point, etc. |
| 158 | RECTANGLE should be a list of strings." | 158 | RECTANGLE should be a list of strings. |
| 159 | After this command, the mark is at the upper left corner | ||
| 160 | and 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 |