How would I go about getting the key binding for a function in elisp?
I'd like to know which key is used to quit. e.g. keyboard-quit
.
I tried using the function used by help functionality but it's not working.
(require 'help-fns)
(message "%S" (help-fns--key-bindings (quote keyboard-quit)))
However I get the error Symbol’s value as variable is void: keyboard-quit