Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
23317eac
Commit
23317eac
authored
Nov 03, 1992
by
Richard M. Stallman
Browse files
(insert-rectangle): Put mark at upper left corner.
parent
fcec83fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/rect.el
lisp/rect.el
+4
-1
No files found.
lisp/rect.el
View file @
23317eac
...
@@ -155,10 +155,13 @@ But in programs you might prefer to use `delete-extract-rectangle'."
...
@@ -155,10 +155,13 @@ But in programs you might prefer to use `delete-extract-rectangle'."
"Insert text of RECTANGLE with upper left corner at point.
"Insert text of RECTANGLE with upper left corner at point.
RECTANGLE's first line is inserted at point, its second
RECTANGLE's first line is inserted at point, its second
line is inserted at a point vertically under point, etc.
line is inserted at a point vertically under point, etc.
RECTANGLE should be a list of strings."
RECTANGLE should be a list of strings.
After this command, the mark is at the upper left corner
and point is at the lower right corner."
(
let
((
lines
rectangle
)
(
let
((
lines
rectangle
)
(
insertcolumn
(
current-column
))
(
insertcolumn
(
current-column
))
(
first
t
))
(
first
t
))
(
push-mark
)
(
while
lines
(
while
lines
(
or
first
(
or
first
(
progn
(
progn
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment