1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

(keyboard-quit): Set defining-kbd-macro to nil to

cancel defining keyboard macro when applicablex.
This commit is contained in:
Kim F. Storm 2002-09-09 22:45:03 +00:00
parent f732f824ad
commit f5e130577e

View File

@ -3418,6 +3418,7 @@ During execution of Lisp code, this character causes a quit directly.
At top-level, as an editor command, this simply beeps."
(interactive)
(deactivate-mark)
(setq defining-kbd-macro nil)
(signal 'quit nil))
(define-key global-map "\C-g" 'keyboard-quit)