diff options
| author | Karl Heuer | 1996-05-29 17:17:34 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-05-29 17:17:34 +0000 |
| commit | efcf38c7c2c336fdc89a55ac0ce29086d767700d (patch) | |
| tree | 88d5094c6fd4f8a8f8e029d6329fcc5d5ab9f4d0 /lisp | |
| parent | f56744231472710b1ddb5c391e125c9ccb598ea1 (diff) | |
| download | emacs-efcf38c7c2c336fdc89a55ac0ce29086d767700d.tar.gz emacs-efcf38c7c2c336fdc89a55ac0ce29086d767700d.zip | |
Use executing-kbd-macro, not executing-macro.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/debug.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 16 | ||||
| -rw-r--r-- | lisp/icomplete.el | 2 | ||||
| -rw-r--r-- | lisp/macros.el | 14 | ||||
| -rw-r--r-- | lisp/simple.el | 2 |
5 files changed, 18 insertions, 18 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 873c908c965..fb2a1324331 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el | |||
| @@ -77,7 +77,7 @@ first will be printed into the backtrace buffer." | |||
| 77 | (debugger-old-buffer (current-buffer)) | 77 | (debugger-old-buffer (current-buffer)) |
| 78 | (debugger-step-after-exit nil) | 78 | (debugger-step-after-exit nil) |
| 79 | ;; Don't keep reading from an executing kbd macro! | 79 | ;; Don't keep reading from an executing kbd macro! |
| 80 | (executing-macro nil) | 80 | (executing-kbd-macro nil) |
| 81 | ;; Save the outer values of these vars for the `e' command | 81 | ;; Save the outer values of these vars for the `e' command |
| 82 | ;; before we replace the values. | 82 | ;; before we replace the values. |
| 83 | (debugger-outer-match-data (match-data)) | 83 | (debugger-outer-match-data (match-data)) |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 7931e449b75..5196b6a5ecc 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | ;; LCD Archive Entry: | 8 | ;; LCD Archive Entry: |
| 9 | ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu | 9 | ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu |
| 10 | ;; |A source level debugger for Emacs Lisp. | 10 | ;; |A source level debugger for Emacs Lisp. |
| 11 | ;; |$Date: 1996/03/20 13:19:48 $|$Revision: 3.5.1.27 $|~/modes/edebug.el| | 11 | ;; |$Date: 1996/03/20 13:30:16 $|$Revision: 3.6 $|~/modes/edebug.el| |
| 12 | 12 | ||
| 13 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |
| 14 | 14 | ||
| @@ -85,7 +85,7 @@ | |||
| 85 | ;;; Code: | 85 | ;;; Code: |
| 86 | 86 | ||
| 87 | (defconst edebug-version | 87 | (defconst edebug-version |
| 88 | (let ((raw-version "$Revision: 3.5.1.27 $")) | 88 | (let ((raw-version "$Revision: 3.6 $")) |
| 89 | (substring raw-version (string-match "[0-9.]*" raw-version) | 89 | (substring raw-version (string-match "[0-9.]*" raw-version) |
| 90 | (match-end 0)))) | 90 | (match-end 0)))) |
| 91 | 91 | ||
| @@ -2263,7 +2263,7 @@ error is signaled again." | |||
| 2263 | (cl-lexical-debug t) | 2263 | (cl-lexical-debug t) |
| 2264 | 2264 | ||
| 2265 | ;; Save the outside value of executing macro. (here??) | 2265 | ;; Save the outside value of executing macro. (here??) |
| 2266 | (edebug-outside-executing-macro executing-macro) | 2266 | (edebug-outside-executing-macro executing-kbd-macro) |
| 2267 | (edebug-outside-pre-command-hook pre-command-hook) | 2267 | (edebug-outside-pre-command-hook pre-command-hook) |
| 2268 | (edebug-outside-post-command-hook post-command-hook) | 2268 | (edebug-outside-post-command-hook post-command-hook) |
| 2269 | (edebug-outside-post-command-idle-hook post-command-idle-hook)) | 2269 | (edebug-outside-post-command-idle-hook post-command-idle-hook)) |
| @@ -2271,8 +2271,8 @@ error is signaled again." | |||
| 2271 | (let (;; Don't keep reading from an executing kbd macro | 2271 | (let (;; Don't keep reading from an executing kbd macro |
| 2272 | ;; within edebug unless edebug-continue-kbd-macro is | 2272 | ;; within edebug unless edebug-continue-kbd-macro is |
| 2273 | ;; non-nil. Again, local binding may not be best. | 2273 | ;; non-nil. Again, local binding may not be best. |
| 2274 | (executing-macro | 2274 | (executing-kbd-macro |
| 2275 | (if edebug-continue-kbd-macro executing-macro)) | 2275 | (if edebug-continue-kbd-macro executing-kbd-macro)) |
| 2276 | 2276 | ||
| 2277 | ;; Disable command hooks. This is essential when | 2277 | ;; Disable command hooks. This is essential when |
| 2278 | ;; a hook function is instrumented - to avoid infinite loop. | 2278 | ;; a hook function is instrumented - to avoid infinite loop. |
| @@ -2290,7 +2290,7 @@ error is signaled again." | |||
| 2290 | (edebug-enter edebug-function edebug-args edebug-body) | 2290 | (edebug-enter edebug-function edebug-args edebug-body) |
| 2291 | (fset 'signal (symbol-function 'edebug-original-signal)))) | 2291 | (fset 'signal (symbol-function 'edebug-original-signal)))) |
| 2292 | ;; Reset global variables in case outside value was changed. | 2292 | ;; Reset global variables in case outside value was changed. |
| 2293 | (setq executing-macro edebug-outside-executing-macro | 2293 | (setq executing-kbd-macro edebug-outside-executing-macro |
| 2294 | pre-command-hook edebug-outside-pre-command-hook | 2294 | pre-command-hook edebug-outside-pre-command-hook |
| 2295 | post-command-hook edebug-outside-post-command-hook | 2295 | post-command-hook edebug-outside-post-command-hook |
| 2296 | post-command-idle-hook edebug-outside-post-command-idle-hook | 2296 | post-command-idle-hook edebug-outside-post-command-idle-hook |
| @@ -3565,7 +3565,7 @@ Return the result of the last expression." | |||
| 3565 | (standard-output edebug-outside-standard-output) | 3565 | (standard-output edebug-outside-standard-output) |
| 3566 | (standard-input edebug-outside-standard-input) | 3566 | (standard-input edebug-outside-standard-input) |
| 3567 | 3567 | ||
| 3568 | (executing-macro edebug-outside-executing-macro) | 3568 | (executing-kbd-macro edebug-outside-executing-macro) |
| 3569 | (defining-kbd-macro edebug-outside-defining-kbd-macro) | 3569 | (defining-kbd-macro edebug-outside-defining-kbd-macro) |
| 3570 | (pre-command-hook edebug-outside-pre-command-hook) | 3570 | (pre-command-hook edebug-outside-pre-command-hook) |
| 3571 | (post-command-hook edebug-outside-post-command-hook) | 3571 | (post-command-hook edebug-outside-post-command-hook) |
| @@ -3607,7 +3607,7 @@ Return the result of the last expression." | |||
| 3607 | edebug-outside-standard-output standard-output | 3607 | edebug-outside-standard-output standard-output |
| 3608 | edebug-outside-standard-input standard-input | 3608 | edebug-outside-standard-input standard-input |
| 3609 | 3609 | ||
| 3610 | edebug-outside-executing-macro executing-macro | 3610 | edebug-outside-executing-macro executing-kbd-macro |
| 3611 | edebug-outside-defining-kbd-macro defining-kbd-macro | 3611 | edebug-outside-defining-kbd-macro defining-kbd-macro |
| 3612 | edebug-outside-pre-command-hook pre-command-hook | 3612 | edebug-outside-pre-command-hook pre-command-hook |
| 3613 | edebug-outside-post-command-hook post-command-hook | 3613 | edebug-outside-post-command-hook post-command-hook |
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index f23a9d43fde..025af152a9d 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -134,7 +134,7 @@ Conditions are: | |||
| 134 | like file-name and other custom-func completions)." | 134 | like file-name and other custom-func completions)." |
| 135 | 135 | ||
| 136 | (and (window-minibuffer-p (selected-window)) | 136 | (and (window-minibuffer-p (selected-window)) |
| 137 | (not executing-macro) | 137 | (not executing-kbd-macro) |
| 138 | (not (symbolp minibuffer-completion-table)))) | 138 | (not (symbolp minibuffer-completion-table)))) |
| 139 | 139 | ||
| 140 | ;;;_ > icomplete-minibuffer-setup () | 140 | ;;;_ > icomplete-minibuffer-setup () |
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> | |||
| 182 | \\[recenter] Redisplay the screen, then ask again. | 182 | \\[recenter] Redisplay the screen, then ask again. |
| 183 | \\[edit] Enter recursive edit; ask again when you exit from that." | 183 | \\[edit] Enter recursive edit; ask again when you exit from that." |
| 184 | (interactive "P") | 184 | (interactive "P") |
| 185 | (or executing-macro | 185 | (or executing-kbd-macro |
| 186 | defining-kbd-macro | 186 | defining-kbd-macro |
| 187 | (error "Not defining or executing kbd macro")) | 187 | (error "Not defining or executing kbd macro")) |
| 188 | (if flag | 188 | (if flag |
| 189 | (let (executing-macro defining-kbd-macro) | 189 | (let (executing-kbd-macro defining-kbd-macro) |
| 190 | (recursive-edit)) | 190 | (recursive-edit)) |
| 191 | (if (not executing-macro) | 191 | (if (not executing-kbd-macro) |
| 192 | nil | 192 | nil |
| 193 | (let ((loop t) | 193 | (let ((loop t) |
| 194 | (msg (substitute-command-keys | 194 | (msg (substitute-command-keys |
| 195 | "Proceed with macro?\\<query-replace-map>\ | 195 | "Proceed with macro?\\<query-replace-map>\ |
| 196 | (\\[act], \\[skip], \\[exit], \\[recenter], \\[edit]) "))) | 196 | (\\[act], \\[skip], \\[exit], \\[recenter], \\[edit]) "))) |
| 197 | (while loop | 197 | (while loop |
| 198 | (let ((key (let ((executing-macro nil) | 198 | (let ((key (let ((executing-kbd-macro nil) |
| 199 | (defining-kbd-macro nil)) | 199 | (defining-kbd-macro nil)) |
| 200 | (message "%s" msg) | 200 | (message "%s" msg) |
| 201 | (read-event))) | 201 | (read-event))) |
| @@ -206,14 +206,14 @@ Your options are: \\<query-replace-map> | |||
| 206 | (setq loop nil)) | 206 | (setq loop nil)) |
| 207 | ((eq def 'skip) | 207 | ((eq def 'skip) |
| 208 | (setq loop nil) | 208 | (setq loop nil) |
| 209 | (setq executing-macro "")) | 209 | (setq executing-kbd-macro "")) |
| 210 | ((eq def 'exit) | 210 | ((eq def 'exit) |
| 211 | (setq loop nil) | 211 | (setq loop nil) |
| 212 | (setq executing-macro t)) | 212 | (setq executing-kbd-macro t)) |
| 213 | ((eq def 'recenter) | 213 | ((eq def 'recenter) |
| 214 | (recenter nil)) | 214 | (recenter nil)) |
| 215 | ((eq def 'edit) | 215 | ((eq def 'edit) |
| 216 | (let (executing-macro defining-kbd-macro) | 216 | (let (executing-kbd-macro defining-kbd-macro) |
| 217 | (recursive-edit))) | 217 | (recursive-edit))) |
| 218 | ((eq def 'quit) | 218 | ((eq def 'quit) |
| 219 | (setq quit-flag t)) | 219 | (setq quit-flag t)) |
diff --git a/lisp/simple.el b/lisp/simple.el index bdacf04b1df..5b3177d3a4c 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1557,7 +1557,7 @@ In Transient Mark mode, this does not activate the mark." | |||
| 1557 | (move-marker (car (nthcdr global-mark-ring-max global-mark-ring)) | 1557 | (move-marker (car (nthcdr global-mark-ring-max global-mark-ring)) |
| 1558 | nil) | 1558 | nil) |
| 1559 | (setcdr (nthcdr (1- global-mark-ring-max) global-mark-ring) nil)))) | 1559 | (setcdr (nthcdr (1- global-mark-ring-max) global-mark-ring) nil)))) |
| 1560 | (or nomsg executing-macro (> (minibuffer-depth) 0) | 1560 | (or nomsg executing-kbd-macro (> (minibuffer-depth) 0) |
| 1561 | (message "Mark set")) | 1561 | (message "Mark set")) |
| 1562 | (if (or activate (not transient-mark-mode)) | 1562 | (if (or activate (not transient-mark-mode)) |
| 1563 | (set-mark (mark t))) | 1563 | (set-mark (mark t))) |