]> git.eshelyaron.com Git - emacs.git/commit
Try to speed up extended command shorthand computation
authorMichael Heerdegen <michael_heerdegen@web.de>
Sun, 18 Sep 2022 10:26:53 +0000 (12:26 +0200)
committerMichael Heerdegen <michael_heerdegen@web.de>
Sun, 9 Oct 2022 18:42:44 +0000 (20:42 +0200)
commit93136169cba9c7c8f827dbc2f579b95a75d15fad
treebedeaf68b0077928c18ff166357056a69f85402a
parent90c3a25eb112f9c2b3d5fe2b5697160f7df10324
Try to speed up extended command shorthand computation

Discussed in Bug#51143.

* lisp/simple.el (execute-extended-command--shorter): Compute a
complete list of `commandp' symbols once.  This significantly speeds
up complicated cases while the slowdown of simple cases is still
accetable.
lisp/simple.el