diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-05-29 17:17:34 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-05-29 17:17:34 +0000 |
commit | efcf38c7c2c336fdc89a55ac0ce29086d767700d (patch) | |
tree | 88d5094c6fd4f8a8f8e029d6329fcc5d5ab9f4d0 /lisp/macros.el | |
parent | f56744231472710b1ddb5c391e125c9ccb598ea1 (diff) | |
download | emacs-efcf38c7c2c336fdc89a55ac0ce29086d767700d.tar.gz |
Use executing-kbd-macro, not executing-macro.
Diffstat (limited to 'lisp/macros.el')
-rw-r--r-- | lisp/macros.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/macros.el b/lisp/macros.el index fc79959e9f9..6263a6957c2 100644 --- a/lisp/macros.el +++ b/lisp/macros.el @@ -182,20 +182,20 @@ Your options are: \\<query-replace-map> \\[recenter] Redisplay the screen, then ask again. \\[edit] Enter recursive edit; ask again when you exit from that." (interactive "P") - (or executing-macro + (or executing-kbd-macro defining-kbd-macro (error "Not defining or executing kbd macro")) (if flag - (let (executing-macro defining-kbd-macro) + (let (executing-kbd-macro defining-kbd-macro) (recursive-edit)) - (if (not executing-macro) + (if (not executing-kbd-macro) nil (let ((loop t) (msg (substitute-command-keys "Proceed with macro?\\<query-replace-map>\ (\\[act], \\[skip], \\[exit], \\[recenter], \\[edit]) "))) (while loop - (let ((key (let ((executing-macro nil) + (let ((key (let ((executing-kbd-macro nil) (defining-kbd-macro nil)) (message "%s" msg) (read-event))) @@ -206,14 +206,14 @@ Your options are: \\<query-replace-map> (setq loop nil)) ((eq def 'skip) (setq loop nil) - (setq executing-macro "")) + (setq executing-kbd-macro "")) ((eq def 'exit) (setq loop nil) - (setq executing-macro t)) + (setq executing-kbd-macro t)) ((eq def 'recenter) (recenter nil)) ((eq def 'edit) - (let (executing-macro defining-kbd-macro) + (let (executing-kbd-macro defining-kbd-macro) (recursive-edit))) ((eq def 'quit) (setq quit-flag t)) |