summaryrefslogtreecommitdiff
path: root/lisp/loadup.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-12-27 16:24:54 +0000
committerRichard M. Stallman <rms@gnu.org>2004-12-27 16:24:54 +0000
commitf6e4371206111ca0a06fb85b27307d4e87639cf3 (patch)
tree5f1188006c279809085e9c93663caa6a632bd0b6 /lisp/loadup.el
parent38fb035434ab7d155b36895598d57ad74de9763e (diff)
downloademacs-f6e4371206111ca0a06fb85b27307d4e87639cf3.tar.gz
Don't use buffer-disable-undo; do it directly.
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r--lisp/loadup.el3
1 files changed, 2 insertions, 1 deletions
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")