[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undo in loaddefs.el buffer

From: Luc Teirlinck
Subject: Re: undo in loaddefs.el buffer
Date: Tue, 21 Dec 2004 09:41:11 -0600 (CST)

>From my previous message:

   During `make bootstrap' (CVS from minutes ago) I got asked:

   Buffer loaddefs.el undo info is 301051 bytes long; discard it? (yes or no)

   Is there any reason for that buffer record undo history in the first place?

What about the following trivial patch to emacs-lisp/autoload.el,
which fixes the problem?  Or is there some strange reason why enabling
undo is _really_ necessary in that buffer?  It is hard to think of
any, since this seems to be just an internally used buffer.

===File ~/autoload.el-diff==================================
*** autoload.el 02 Nov 2004 08:26:32 -0600      1.102
--- autoload.el 21 Dec 2004 09:18:01 -0600      
*** 388,393 ****
--- 388,394 ----
                      (expand-file-name generated-autoload-file
                                        (expand-file-name "lisp"
+       (buffer-disable-undo)
        ;; This is to make generated-autoload-file have Unix EOLs, so
        ;; that it is portable to all platforms.
        (setq buffer-file-coding-system 'raw-text-unix))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]