From f6e4371206111ca0a06fb85b27307d4e87639cf3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Dec 2004 16:24:54 +0000 Subject: [PATCH] Don't use buffer-disable-undo; do it directly. --- lisp/loadup.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- 2.39.5