Commit e917fa07 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(open-line): Treat all cases of enabled undo alike.

parent 5f96776a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment