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
6e1e8dbc
Commit
6e1e8dbc
authored
Aug 16, 1999
by
Karl Heuer
Browse files
(delete-rectangle-line): Use line-end-position.
parent
da71ab91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/rect.el
lisp/rect.el
+1
-1
No files found.
lisp/rect.el
View file @
6e1e8dbc
...
...
@@ -135,7 +135,7 @@ the function is called."
))
(
defun
delete-rectangle-line
(
startcol
endcol
fill
)
(
let
((
pt
(
point-at-eol
)))
(
let
((
pt
(
line-end-position
)))
(
when
(
=
(
move-to-column-force
startcol
(
or
fill
'coerce
))
startcol
)
(
if
(
and
(
not
fill
)
(
<=
pt
endcol
))
(
delete-region
(
point
)
pt
)
...
...
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