changeset 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 50ada322de3e
children 8b688d642fc1
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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