|Subject:||bug#22673: 24.5; global set key neg freaks out emacs|
|Date:||Mon, 15 Feb 2016 13:24:47 +0000|
(global-set-key (kbd "C-x g > =") "≥")That and every other character in quotes that I have tried, works fine. Only neg is different.
Alexis <address@hidden> writes:
> The documentation for the `global-set-key` function, at least in 24.5.3
> and in the emacs-25 branch as at d9ea7950, doesn't mention this
> (global-set-key KEY COMMAND)
> Give KEY a global binding as COMMAND. COMMAND is the command
> definition to use; usually it is a symbol naming an
> interactively-callable function.
> Perhaps it should be modified to refer to COMMAND-OR-VECTOR?
A vector is a kind of command. It's a keyboard macro.
ELISP> (commandp [?¬])
For non-interactive use, define-key is preferred, which has all details.
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
|[Prev in Thread]||Current Thread||[Next in Thread]|