People didn't care for that suggestion, so I will continue to test the key
itself. Perhaps I could test the key somehow with `generic-char-p' (how?),
but, as Stefan pointed out, there are also other keys that cannot be
trivially converted to chars.
How about: (char-valid-p keymap-entry)
Since all self-insert-command keys must be valid chars if inserting them
is going to work.
This way you don't need to test for generic-char-p, since char-valid-p
returns nil for generic characters unless you give it a non-nil second arg.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug