From f5e130577e9c1c43a4ea58b1062bff6b43346f7a Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 9 Sep 2002 22:45:03 +0000 Subject: [PATCH] (keyboard-quit): Set defining-kbd-macro to nil to cancel defining keyboard macro when applicablex. --- lisp/simple.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/simple.el b/lisp/simple.el index 79c3e561af6..6d1dbe1db7c 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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) -- 2.39.5