Get rid of all the manual purecopy calls in menu-bar definitions.
commit1ec4b7b25979ff9ea72a3ea35bf35d5882f467f7
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 27 Jun 2012 21:15:13 +0000 (27 17:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 27 Jun 2012 21:15:13 +0000 (27 17:15 -0400)
tree7d3f3d3ef4a151e8a2b93b653692a4a652d2a720
parente309e2a56606ef774c5c366f74ea17ced46da065
Get rid of all the manual purecopy calls in menu-bar definitions.
* lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the
memory use.
* lisp/bindings.el (bindings--define-key): New function.
* lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el:
* lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el:
* lisp/buff-menu.el, lisp/bookmark.el:
* bindings.el: Use it to purecopy define-key bindings.
* src/fns.c (maybe_resize_hash_table): Output message when growing the
purify-hashtable.
14 files changed:
lisp/ChangeLog
lisp/bindings.el
lisp/bookmark.el
lisp/buff-menu.el
lisp/emacs-lisp/lisp-mode.el
lisp/international/mule-cmds.el
lisp/loadup.el
lisp/menu-bar.el
lisp/replace.el
lisp/vc/vc-hooks.el
src/ChangeLog
src/data.c
src/fns.c
src/puresize.h