[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/raeburn-startup bd8bcb3 29/43: Load uniquify after
From: |
Ken Raeburn |
Subject: |
[Emacs-diffs] scratch/raeburn-startup bd8bcb3 29/43: Load uniquify after dump/reload. |
Date: |
Mon, 31 Jul 2017 02:11:03 -0400 (EDT) |
branch: scratch/raeburn-startup
commit bd8bcb37ab2070aa5c3c66f385cbe009f13a5379
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>
Load uniquify after dump/reload.
* lisp/loadup.el: Don't load uniquify before dumping; load it if we
don't dump, or if we do dump, write out instructions to load it at
startup. Don't explicitly filter out rename-buffer when checking for
function definitions that need writing out.
---
lisp/loadup.el | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/lisp/loadup.el b/lisp/loadup.el
index aeba14a..e3d8dc5 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -320,7 +320,6 @@
(load "vc/vc-hooks")
(load "vc/ediff-hook")
-(load "uniquify")
(load "electric")
(load "emacs-lisp/eldoc")
(load "cus-start") ;Late to reduce customize-rogue (needs loaddefs.el anyway)
@@ -513,12 +512,8 @@ lost after dumping")))
;; subr objects aren't readable!
(unless (equal (symbol-name s) (subr-name (symbol-function
s)))
(push `(fset ',s (symbol-function ',(intern (subr-name
(symbol-function s))))) cmds))
- (if (memq s '(rename-buffer))
- ;; FIXME: We need these, but they contain
- ;; unprintable objects.
- nil
- (push `(fset ',s ,(macroexp-quote (symbol-function s)))
- cmds))))
+ (push `(fset ',s ,(macroexp-quote (symbol-function s)))
+ cmds)))
(when (and (default-boundp s)
(not (macroexp--const-symbol-p s 'any-value))
;; I think we don't need/want these!
@@ -691,6 +686,8 @@ lost after dumping")))
'face-defface-spec)))
(terpri)
(print '(load "international/characters" nil t))
+ ;; This sets advice on a subr, so cannot be preloaded.
+ (print '(load "uniquify"))
(terpri)
;; Lisp functions have their DOC file offsets stored
;; already, but for a subr it's hidden away from Lisp.
@@ -725,6 +722,8 @@ lost after dumping")))
(kill-emacs)))
+(load "uniquify")
+
;; For machines with CANNOT_DUMP defined in config.h,
;; this file must be loaded each time Emacs is run.
;; So run the startup code now. First, remove `-l loadup' from args.
- [Emacs-diffs] scratch/raeburn-startup 89bfbf7 38/43: * lisp/loadup.el: Drop several more variables from dumped.elc., (continued)
- [Emacs-diffs] scratch/raeburn-startup 89bfbf7 38/43: * lisp/loadup.el: Drop several more variables from dumped.elc., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup e69daac 21/43: Fix build on Cygwin, Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 98025ef 31/43: Retain overlay properties when dumping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup f6793d2 41/43: Don't use byte-compile-dynamic for stuff we're going to load., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 9664101 16/43: Load dumped.elc quietly., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup cc22b26 19/43: Don't save internal--text-quoting-flag., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 3da90ae 32/43: Make watchers dumpable., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 363abae 30/43: Support dumping variable aliases., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 291e585 24/43: Update load-path and purify-flag even if not bootstrapping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 2c96099 27/43: Don't dump artifacts of the dump process., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup bd8bcb3 29/43: Load uniquify after dump/reload.,
Ken Raeburn <=
- [Emacs-diffs] scratch/raeburn-startup d987a68 39/43: Don't show the build directory in load-history., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup de45051 37/43: Fix use of "-l" on command line after installation., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 272c874 23/43: Fix startup on MS-Windows, Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup d95042a 35/43: ; Add comment regarding silent loading of dumped.elc., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 5d4b7f9 26/43: Dump and restore empty abbrev tables., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup a0ac557 28/43: Clear out doc strings matching DOC file before dumping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 7764bd73 36/43: * lisp/loadup.el: Load uniquify quietly. Put fewer newlines in dump file., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 6faa843 20/43: Load documentation at startup., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 43dcdd3 25/43: Load cl-macs, needed for cl-labels., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 761346d 34/43: Use CANNOT_DUMP mode., Ken Raeburn, 2017/07/31