diff lisp/simple.el @ 5564:99143cd57345

(open-line): Treat all cases of enabled undo alike.
author Richard M. Stallman <rms@gnu.org>
date Tue, 11 Jan 1994 15:56:29 +0000
parents 037e2641c768
children 82a127d7ef7d
line wrap: on
line diff
--- 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