From: Richard M. Stallman Date: Mon, 27 Dec 2004 16:24:54 +0000 (+0000) Subject: Don't use buffer-disable-undo; do it directly. X-Git-Tag: ttn-vms-21-2-B4~3124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6e4371206111ca0a06fb85b27307d4e87639cf3;p=emacs.git Don't use buffer-disable-undo; do it directly. --- diff --git a/lisp/loadup.el b/lisp/loadup.el index 15f47440aed..04fc7a94174 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -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")