aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/loadup.el
diff options
context:
space:
mode:
authorJim Blandy1992-05-18 08:14:41 +0000
committerJim Blandy1992-05-18 08:14:41 +0000
commitffd56f97cf56501f7a6981c184192e9043e4eafd (patch)
treed463f4585c85fa76b33d3663271bbb4126d7b116 /lisp/loadup.el
parent502ddf238f0ed280a301426804b2ed16ec1c49cc (diff)
downloademacs-ffd56f97cf56501f7a6981c184192e9043e4eafd.tar.gz
emacs-ffd56f97cf56501f7a6981c184192e9043e4eafd.zip
*** empty log message ***
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r--lisp/loadup.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index a94f4d6cc25..3b8e7bbd67e 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -18,6 +18,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 18;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21;;; We don't want to have any undo records in the dumped Emacs.
22(buffer-disable-undo "*scratch*")
21 23
22(load "subr") 24(load "subr")
23(load "map-ynp") 25(load "map-ynp")
@@ -107,6 +109,9 @@
107(load "site-init" t) 109(load "site-init" t)
108(garbage-collect) 110(garbage-collect)
109 111
112;;; At this point, we're ready to resume undo recording for scratch.
113(buffer-enable-undo "*scratch*")
114
110(if (or (equal (nth 3 command-line-args) "dump") 115(if (or (equal (nth 3 command-line-args) "dump")
111 (equal (nth 4 command-line-args) "dump")) 116 (equal (nth 4 command-line-args) "dump"))
112 (if (eq system-type 'vax-vms) 117 (if (eq system-type 'vax-vms)