diff options
| author | Richard M. Stallman | 1999-05-18 04:20:59 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-05-18 04:20:59 +0000 |
| commit | bf90c2c0ad6cfe83c79dadb90033dd812d49ccec (patch) | |
| tree | b928346f6e6f090165f9df173efe969fe54ec8c9 /lisp | |
| parent | e3d1469c2e11091f3d6603b1b5a7e993556b7fdf (diff) | |
| download | emacs-bf90c2c0ad6cfe83c79dadb90033dd812d49ccec.tar.gz emacs-bf90c2c0ad6cfe83c79dadb90033dd812d49ccec.zip | |
(debugger-outer-inhibit-redisplay): New variable.
(debug): Bind and use debugger-outer-inhibit-redisplay.
Bind inhibit-redisplay to nil.
(debugger-env-macro): Treat inhibit-redisplay like other outside vars.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/debug.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 5fce9e44abc..41cb6c66425 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el | |||
| @@ -72,6 +72,7 @@ | |||
| 72 | (defvar debugger-outer-last-event-frame) | 72 | (defvar debugger-outer-last-event-frame) |
| 73 | (defvar debugger-outer-standard-input) | 73 | (defvar debugger-outer-standard-input) |
| 74 | (defvar debugger-outer-standard-output) | 74 | (defvar debugger-outer-standard-output) |
| 75 | (defvar debugger-outer-inhibit-redisplay) | ||
| 75 | (defvar debugger-outer-cursor-in-echo-area) | 76 | (defvar debugger-outer-cursor-in-echo-area) |
| 76 | 77 | ||
| 77 | ;;;###autoload | 78 | ;;;###autoload |
| @@ -116,6 +117,7 @@ first will be printed into the backtrace buffer." | |||
| 116 | (debugger-outer-last-event-frame last-event-frame) | 117 | (debugger-outer-last-event-frame last-event-frame) |
| 117 | (debugger-outer-standard-input standard-input) | 118 | (debugger-outer-standard-input standard-input) |
| 118 | (debugger-outer-standard-output standard-output) | 119 | (debugger-outer-standard-output standard-output) |
| 120 | (debugger-outer-inhibit-redisplay inhibit-redisplay) | ||
| 119 | (debugger-outer-cursor-in-echo-area cursor-in-echo-area)) | 121 | (debugger-outer-cursor-in-echo-area cursor-in-echo-area)) |
| 120 | ;; Set this instead of binding it, so that `q' | 122 | ;; Set this instead of binding it, so that `q' |
| 121 | ;; will not restore it. | 123 | ;; will not restore it. |
| @@ -133,6 +135,7 @@ first will be printed into the backtrace buffer." | |||
| 133 | (enable-recursive-minibuffers | 135 | (enable-recursive-minibuffers |
| 134 | (or enable-recursive-minibuffers (> (minibuffer-depth) 0))) | 136 | (or enable-recursive-minibuffers (> (minibuffer-depth) 0))) |
| 135 | (standard-input t) (standard-output t) | 137 | (standard-input t) (standard-output t) |
| 138 | inhibit-redisplay | ||
| 136 | (cursor-in-echo-area nil)) | 139 | (cursor-in-echo-area nil)) |
| 137 | (unwind-protect | 140 | (unwind-protect |
| 138 | (save-excursion | 141 | (save-excursion |
| @@ -228,6 +231,7 @@ first will be printed into the backtrace buffer." | |||
| 228 | (setq last-event-frame debugger-outer-last-event-frame) | 231 | (setq last-event-frame debugger-outer-last-event-frame) |
| 229 | (setq standard-input debugger-outer-standard-input) | 232 | (setq standard-input debugger-outer-standard-input) |
| 230 | (setq standard-output debugger-outer-standard-output) | 233 | (setq standard-output debugger-outer-standard-output) |
| 234 | (setq inhibit-redisplay debugger-outer-inhibit-redisplay) | ||
| 231 | (setq cursor-in-echo-area debugger-outer-cursor-in-echo-area) | 235 | (setq cursor-in-echo-area debugger-outer-cursor-in-echo-area) |
| 232 | (setq debug-on-next-call debugger-step-after-exit) | 236 | (setq debug-on-next-call debugger-step-after-exit) |
| 233 | debugger-value)) | 237 | debugger-value)) |
| @@ -351,7 +355,11 @@ Applies to the frame whose line point is on in the backtrace." | |||
| 351 | ;; old buffer deleted | 355 | ;; old buffer deleted |
| 352 | (setq debugger-old-buffer (current-buffer))) | 356 | (setq debugger-old-buffer (current-buffer))) |
| 353 | (set-buffer debugger-old-buffer) | 357 | (set-buffer debugger-old-buffer) |
| 354 | (let ((track-mouse debugger-outer-track-mouse) | 358 | (let ((load-read-function debugger-outer-load-read-function) |
| 359 | (overriding-terminal-local-map | ||
| 360 | debugger-outer-overriding-terminal-local-map) | ||
| 361 | (overriding-local-map debugger-outer-overriding-local-map) | ||
| 362 | (track-mouse debugger-outer-track-mouse) | ||
| 355 | (last-command debugger-outer-last-command) | 363 | (last-command debugger-outer-last-command) |
| 356 | (this-command debugger-outer-this-command) | 364 | (this-command debugger-outer-this-command) |
| 357 | (unread-command-char debugger-outer-unread-command-char) | 365 | (unread-command-char debugger-outer-unread-command-char) |
| @@ -364,11 +372,8 @@ Applies to the frame whose line point is on in the backtrace." | |||
| 364 | (last-event-frame debugger-outer-last-event-frame) | 372 | (last-event-frame debugger-outer-last-event-frame) |
| 365 | (standard-input debugger-outer-standard-input) | 373 | (standard-input debugger-outer-standard-input) |
| 366 | (standard-output debugger-outer-standard-output) | 374 | (standard-output debugger-outer-standard-output) |
| 367 | (cursor-in-echo-area debugger-outer-cursor-in-echo-area) | 375 | (inhibit-redisplay debugger-outer-inhibit-redisplay) |
| 368 | (overriding-local-map debugger-outer-overriding-local-map) | 376 | (cursor-in-echo-area debugger-outer-cursor-in-echo-area)) |
| 369 | (overriding-terminal-local-map | ||
| 370 | debugger-outer-overriding-terminal-local-map) | ||
| 371 | (load-read-function debugger-outer-load-read-function)) | ||
| 372 | (set-match-data debugger-outer-match-data) | 377 | (set-match-data debugger-outer-match-data) |
| 373 | (prog1 (progn (,@ body)) | 378 | (prog1 (progn (,@ body)) |
| 374 | (setq debugger-outer-match-data (match-data)) | 379 | (setq debugger-outer-match-data (match-data)) |
| @@ -389,6 +394,7 @@ Applies to the frame whose line point is on in the backtrace." | |||
| 389 | (setq debugger-outer-last-event-frame last-event-frame) | 394 | (setq debugger-outer-last-event-frame last-event-frame) |
| 390 | (setq debugger-outer-standard-input standard-input) | 395 | (setq debugger-outer-standard-input standard-input) |
| 391 | (setq debugger-outer-standard-output standard-output) | 396 | (setq debugger-outer-standard-output standard-output) |
| 397 | (setq debugger-outer-inhibit-redisplay inhibit-redisplay) | ||
| 392 | (setq debugger-outer-cursor-in-echo-area cursor-in-echo-area) | 398 | (setq debugger-outer-cursor-in-echo-area cursor-in-echo-area) |
| 393 | ))))) | 399 | ))))) |
| 394 | 400 | ||