From: Richard M. Stallman Date: Tue, 11 Jan 1994 15:56:29 +0000 (+0000) Subject: (open-line): Treat all cases of enabled undo alike. X-Git-Tag: emacs-19.34~10287 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e917fa0784c9fdf6cb024a67be72ea1b9657522e;p=emacs.git (open-line): Treat all cases of enabled undo alike. --- diff --git a/lisp/simple.el b/lisp/simple.el index 8eb0ace9d46..46fed18c818 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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