changeset 59126:7c8ecf412b73

Don't use buffer-disable-undo; do it directly.
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Dec 2004 16:24:54 +0000
parents 32d2da4da4de
children 25e00b2ef82f
files lisp/loadup.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/loadup.el	Mon Dec 27 16:24:20 2004 +0000
+++ b/lisp/loadup.el	Mon Dec 27 16:24:54 2004 +0000
@@ -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")