Talking of this functions: Why is this function so restricted that in
the case of mouse events or mouse specifiers, an error is signalled?
Signaling: (error "Mouse-clicks can't appear in saved keyboard macros.")
event-matches-key-specifier-p(#<keypress-event return> button2)
eval((event-matches-key-specifier-p (aref (this-command-keys) 0) (quote button2)))
(Same error if event is mouse event and specifier is key or mouse
specifier). A function `event-matches-specifier-p' would be much more
useful IMHO...
- Christoph