]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't use buffer-disable-undo; do it directly.
authorRichard M. Stallman <rms@gnu.org>
Mon, 27 Dec 2004 16:24:54 +0000 (16:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 27 Dec 2004 16:24:54 +0000 (16:24 +0000)
lisp/loadup.el

index 15f47440aedbf76c6172462e0c72ed4be16e94d4..04fc7a94174eb6424c0ce996f40f860ea73128be 100644 (file)
@@ -46,7 +46,8 @@
 (message "Using load-path %s" load-path)
 
 ;; We don't want to have any undo records in the dumped Emacs.
-(buffer-disable-undo "*scratch*")
+(set-buffer "*scratch*")
+(setq buffer-undo-list t)
 
 (load "emacs-lisp/byte-run")
 (load "emacs-lisp/backquote")