# HG changeset patch # User Richard M. Stallman # Date 758303789 0 # Node ID 99143cd573458f94941fb2e83d08db872115f92c # Parent 50ada322de3e114ff28919785175bbb551bc63a2 (open-line): Treat all cases of enabled undo alike. diff -r 50ada322de3e -r 99143cd57345 lisp/simple.el --- a/lisp/simple.el Tue Jan 11 07:22:11 1994 +0000 +++ b/lisp/simple.el Tue Jan 11 15:56:29 1994 +0000 @@ -41,7 +41,7 @@ ;; 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