emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/simple.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el
Date: Tue, 28 Dec 2004 00:38:48 -0500

Index: emacs/lisp/simple.el
diff -c emacs/lisp/simple.el:1.675 emacs/lisp/simple.el:1.676
*** emacs/lisp/simple.el:1.675  Mon Dec 27 22:12:39 2004
--- emacs/lisp/simple.el        Tue Dec 28 05:11:03 2004
***************
*** 1328,1334 ****
    "Make BUFFER stop keeping undo information.
  No argument or nil as argument means do this for the current buffer."
    (interactive)
!   (with-current-buffer (get-buffer buffer)
      (setq buffer-undo-list t
          undo-list-saved nil)))
  
--- 1328,1334 ----
    "Make BUFFER stop keeping undo information.
  No argument or nil as argument means do this for the current buffer."
    (interactive)
!   (with-current-buffer (if buffer (get-buffer buffer) (current-buffer))
      (setq buffer-undo-list t
          undo-list-saved nil)))
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]