1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 10:51:29 -08:00
emacs/test/src
Eli Zaretskii 11d6d6c3ea 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.
2021-09-18 13:23:48 +03:00
..
comp-resources
emacs-module-resources Pacify gcc 11.1.1 -Wanalyzer-possible-null-dereference 2021-07-12 00:12:21 -07:00
lread-resources
regex-resources
syntax-resources
alloc-tests.el
buffer-tests.el Add new variable 'kill-buffer/delete-auto-save-files' 2021-08-23 15:56:54 +02:00
callint-tests.el
callproc-tests.el
casefiddle-tests.el
character-tests.el
charset-tests.el
chartab-tests.el
cmds-tests.el
coding-tests.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
comp-tests.el
data-tests.el
decompress-tests.el
editfns-tests.el
emacs-module-tests.el Adjust test to describe-function changes 2021-09-08 09:45:45 +02:00
emacs-tests.el
eval-tests.el
fileio-tests.el Check for null bytes in filenames in 'expand-file-name' (bug#49723) 2021-09-18 09:36:26 +03:00
filelock-tests.el
floatfns-tests.el
fns-tests.el
font-tests.el Add XLFD font parsing tests 2021-08-12 14:18:08 +02:00
indent-tests.el
inotify-tests.el
json-tests.el Use string-replace instead of replace-regexp-in-string 2021-08-08 19:25:26 +02:00
keyboard-tests.el
keymap-tests.el Fix performance degradation in commands that describe key bindings 2021-09-18 13:23:48 +03:00
lcms-tests.el
lread-tests.el
marker-tests.el
minibuf-tests.el
print-tests.el
process-tests.el Block TLS handshake until TCP connection established 2021-07-13 19:07:41 +02:00
regex-emacs-tests.el
search-tests.el Adjust how `replace-match' runs modification hooks 2021-07-31 17:44:43 +02:00
syntax-tests.el Make parse-partial-sexp signal an error if TO is smaller than FROM 2021-08-21 15:24:15 +02:00
textprop-tests.el
thread-tests.el
timefns-tests.el
undo-tests.el
xdisp-tests.el
xfaces-tests.el
xml-tests.el