diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-03 18:46:05 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-03 18:46:13 +0200 |
commit | 99fbf39d61bf5e3d9618eafced92c2284938632d (patch) | |
tree | 3ca581623288c2746b617005891823e8d47b3146 /lisp/emacs-lisp/memory-report.el | |
parent | 3346b94b73d6694333180c1407c20c2f9c97048d (diff) | |
download | emacs-99fbf39d61bf5e3d9618eafced92c2284938632d.tar.gz emacs-99fbf39d61bf5e3d9618eafced92c2284938632d.tar.bz2 emacs-99fbf39d61bf5e3d9618eafced92c2284938632d.zip |
Make tool bar caching more sensible
* lisp/tool-bar.el (tool-bar-keymap-cache): Make into a non-weak
EQ hash table, which should be faster and not lose the contents
after a GC (bug#43397).
(tool-bar--flush-cache, tool-bar-make-keymap): Use the terminal
only as the key.
(tool-bar-local-item, tool-bar-local-item-from-menu): Flush the
cache after altering the tool bar.
Diffstat (limited to 'lisp/emacs-lisp/memory-report.el')
0 files changed, 0 insertions, 0 deletions