emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/raeburn-startup 6a7d996 17/17: Don't dump a copy o


From: Ken Raeburn
Subject: [Emacs-diffs] scratch/raeburn-startup 6a7d996 17/17: Don't dump a copy of the obarray.
Date: Thu, 15 Dec 2016 11:33:19 +0000 (UTC)

branch: scratch/raeburn-startup
commit 6a7d996243835d022ea54809f7a45d59bd57f152
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>

    Don't dump a copy of the obarray.
    
    The obarray was included by value in a function definition as a result
    of apply-partial, but it writes out as a simple array and a lot of
    chained symbols are discarded.
    
    This is NOT a fix.
    
    * lisp/loadup.el: Don't dump elisp--xref-identifier-completion-table
    for now.
---
 lisp/loadup.el |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/loadup.el b/lisp/loadup.el
index 39031cd..4229998 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -517,6 +517,11 @@ lost after dumping")))
                          ;; unprintable objects.
                          ((eq s 'advertised-signature-table)
                           (make-hash-table :test 'eq :weakness 'key))
+                         ;; FIXME: Incorporates obarray by value,
+                         ;; which doesn't work (chained symbols are
+                         ;; ignored).  Reconstruct at startup?
+                         ((eq s 'elisp--xref-identifier-completion-table)
+                          nil)
                          ((subrp v)
                           `(symbol-function ',(intern (subr-name v))))
                          ((and (markerp v) (null (marker-buffer v)))



reply via email to

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