X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/31ca4639ad1bfaa355a3f30ef92eb977bd2c6b78..ef62b23df5a7007c3d8c74dbca87ba83e9da682e:/lisp/loadup.el diff --git a/lisp/loadup.el b/lisp/loadup.el index fae742f663..3b2d4e3493 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -321,6 +321,7 @@ (when (hash-table-p purify-flag) (let ((strings 0) (vectors 0) + (bytecodes 0) (conses 0) (others 0)) (maphash (lambda (k v) @@ -328,10 +329,11 @@ ((stringp k) (setq strings (1+ strings))) ((vectorp k) (setq vectors (1+ vectors))) ((consp k) (setq conses (1+ conses))) + ((byte-code-function-p v) (setq bytecodes (1+ bytecodes))) (t (setq others (1+ others))))) purify-flag) - (message "Pure-hashed: %d strings, %d vectors, %d conses, %d others" - strings vectors conses others))) + (message "Pure-hashed: %d strings, %d vectors, %d conses, %d bytecodes, %d others" + strings vectors conses bytecodes others))) ;; Avoid error if user loads some more libraries now and make sure the ;; hash-consing hash table is GC'd.