summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-opt.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-09-18 13:23:48 +0300
committerEli Zaretskii <eliz@gnu.org>2021-09-18 13:23:48 +0300
commit11d6d6c3ea8d3f131b0b21db6e51a66d8b20d40e (patch)
tree87365286bb3a5a26f5b4b80e19b8c5a826d2fbcc /lisp/emacs-lisp/byte-opt.el
parentc1356d3a05a789555c327dd4cb0f444fdf7be205 (diff)
downloademacs-11d6d6c3ea8d3f131b0b21db6e51a66d8b20d40e.tar.gz
emacs-11d6d6c3ea8d3f131b0b21db6e51a66d8b20d40e.tar.bz2
emacs-11d6d6c3ea8d3f131b0b21db6e51a66d8b20d40e.zip
Fix performance degradation in commands that describe key bindings
* src/keymap.c (syms_of_keymap) <describe-bindings-check-shadowing-in-ranges>: New variable. (describe_vector): Check shadowing of consecutive keys only if 'describe-bindings-check-shadowing-in-ranges' is non-nil. Remove redundant second loop when VECTOR is a char-table. Improve comments. Patch by Stefan Kangas <stefan@marxist.se>. (Bug#45379) * test/src/keymap-tests.el (help--describe-vector/bug-9293-one-shadowed-in-range): Adapt the test case for the new variable.
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
0 files changed, 0 insertions, 0 deletions