summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-08-19 20:19:59 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-08-19 20:36:12 +0200
commita936335aa02bd6d142ce61563e6cf70a1a7c271b (patch)
treed1dc84297b9b84d698cc130e79b7cbb5681fb031 /test/lisp/emacs-lisp/bytecomp-resources
parent935e4da0e1389fd5a8f836ac81dc53d698f4439f (diff)
downloademacs-a936335aa02bd6d142ce61563e6cf70a1a7c271b.tar.gz
emacs-a936335aa02bd6d142ce61563e6cf70a1a7c271b.tar.bz2
emacs-a936335aa02bd6d142ce61563e6cf70a1a7c271b.zip
Fix return value of help--key-description-fontified
This fixes a bug with warning about obsolete commands in `command-execute', where we incorrectly showed empty parenthesis instead of the empty string when there was no keybinding for the new command. * lisp/help.el (help--key-description-fontified): Return nil instead of the empty string if KEYS argument is nil. * test/lisp/help-tests.el (help--key-description-fontified): New test. (with-substitute-command-keys-test): Fix indentation.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources')
0 files changed, 0 insertions, 0 deletions