diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-18 07:37:08 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-18 07:37:08 +0200 |
commit | 595dcf88fd880a1c96fb7bb462ac53fedd2eb744 (patch) | |
tree | 52d075a16f121a6c5bc2359757ddca6cfe6b5fa8 /test/lisp/subr-tests.el | |
parent | 735086e440aa748072be547f04c8878ac3798723 (diff) | |
download | emacs-595dcf88fd880a1c96fb7bb462ac53fedd2eb744.tar.gz |
Do kbd-valid-p prefix comparisons case-sensitively
* lisp/subr.el (kbd-valid-p): Compare case-sensitively.
Diffstat (limited to 'test/lisp/subr-tests.el')
-rw-r--r-- | test/lisp/subr-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el index 3e6a7a8bd88..238c9be1ab0 100644 --- a/test/lisp/subr-tests.el +++ b/test/lisp/subr-tests.el @@ -311,6 +311,7 @@ (should (kbd-valid-p "<mouse-1>")) (should (kbd-valid-p "<Scroll_Lock>")) + (should (not (kbd-valid-p "c-x"))) (should (not (kbd-valid-p "C-xx"))) (should (not (kbd-valid-p "M-xx"))) (should (not (kbd-valid-p "M-x<TAB>")))) |