(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 <flexibeast@gmail.com> 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
> possibility:
>
> (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 [?¬])
t
For non-interactive use, define-key is preferred, which has all details.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."