|
From: | Gregory Heytings |
Subject: | Re: Moving kbd to subr.el |
Date: | Sun, 17 Oct 2021 19:32:26 +0000 |
I went with the ["C-c C-c"] syntax, and changes are now pushed to the trunk.
I still believe that using strings would have been better, but okay, "the ship has sailed".
A suggestion: (kbd-valid-p "<mouse-1>") (kbd-valid-p "<Scroll_Lock>") should return t, and (kbd-valid-p "<123>") should (I think) return nil. IOW, kbd-valid-p should use: (string-match-p "\\`<[A-Za-z][A-Za-z0-9_-]*>\\'" key)
[Prev in Thread] | Current Thread | [Next in Thread] |