]> git.eshelyaron.com Git - emacs.git/commitdiff
(open-line): Treat all cases of enabled undo alike.
authorRichard M. Stallman <rms@gnu.org>
Tue, 11 Jan 1994 15:56:29 +0000 (15:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 11 Jan 1994 15:56:29 +0000 (15:56 +0000)
lisp/simple.el

index 8eb0ace9d4656659c31309d52bd378b7dee00049..46fed18c818c874d09b72094e8bb81bd37aee824 100644 (file)
@@ -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