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
e917fa07
Commit
e917fa07
authored
Jan 11, 1994
by
Richard M. Stallman
Browse files
(open-line): Treat all cases of enabled undo alike.
parent
5f96776a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/simple.el
lisp/simple.el
+1
-1
No files found.
lisp/simple.el
View file @
e917fa07
...
...
@@ -41,7 +41,7 @@ With arg N, insert N newlines."
;; If undo is enabled, don't let this hack be visible:
;; record the real value of point as the place to move back to
;; if we undo this insert.
(
if
(
and
buffer-undo-list
(
not
(
eq
buffer-undo-list
t
))
)
(
if
(
not
(
eq
buffer-undo-list
t
))
(
setq
buffer-undo-list
(
cons
(
point
)
buffer-undo-list
)))
(
forward-char
-1
)))
(
save-excursion
...
...
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