mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 22:20:52 -08:00
(open-line): Treat all cases of enabled undo alike.
This commit is contained in:
parent
5f96776a97
commit
e917fa0784
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue