aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-08 12:25:25 +0000
committerRichard M. Stallman1997-06-08 12:25:25 +0000
commit29e2b496f036ee5456fc32f849974febf38b9765 (patch)
treecfd57a824a93446523740c40ca788e03e087a8a8
parent7c4978a87e0e1c384a2cd09e1e20b26aa6e8d3e1 (diff)
downloademacs-29e2b496f036ee5456fc32f849974febf38b9765.tar.gz
emacs-29e2b496f036ee5456fc32f849974febf38b9765.zip
(debug, debugger-eval-expression):
Treat overriding-terminal-local-map like overriding-local-map. (debugger-outer-overriding-terminal-local-map): New variable.
-rw-r--r--lisp/emacs-lisp/debug.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 763a1f3193c..e258533bf15 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -43,6 +43,7 @@
43(defvar debugger-outer-match-data) 43(defvar debugger-outer-match-data)
44(defvar debugger-outer-load-read-function) 44(defvar debugger-outer-load-read-function)
45(defvar debugger-outer-overriding-local-map) 45(defvar debugger-outer-overriding-local-map)
46(defvar debugger-outer-overriding-terminal-local-map)
46(defvar debugger-outer-track-mouse) 47(defvar debugger-outer-track-mouse)
47(defvar debugger-outer-last-command) 48(defvar debugger-outer-last-command)
48(defvar debugger-outer-this-command) 49(defvar debugger-outer-this-command)
@@ -83,6 +84,8 @@ first will be printed into the backtrace buffer."
83 (debugger-outer-match-data (match-data)) 84 (debugger-outer-match-data (match-data))
84 (debugger-outer-load-read-function load-read-function) 85 (debugger-outer-load-read-function load-read-function)
85 (debugger-outer-overriding-local-map overriding-local-map) 86 (debugger-outer-overriding-local-map overriding-local-map)
87 (debugger-outer-overriding-terminal-local-map
88 overriding-terminal-local-map)
86 (debugger-outer-track-mouse track-mouse) 89 (debugger-outer-track-mouse track-mouse)
87 (debugger-outer-last-command last-command) 90 (debugger-outer-last-command last-command)
88 (debugger-outer-this-command this-command) 91 (debugger-outer-this-command this-command)
@@ -101,6 +104,7 @@ first will be printed into the backtrace buffer."
101 last-input-event last-command-event last-nonmenu-event 104 last-input-event last-command-event last-nonmenu-event
102 last-event-frame 105 last-event-frame
103 overriding-local-map 106 overriding-local-map
107 overriding-terminal-local-map
104 load-read-function 108 load-read-function
105 (standard-input t) (standard-output t) 109 (standard-input t) (standard-output t)
106 (cursor-in-echo-area nil)) 110 (cursor-in-echo-area nil))
@@ -181,6 +185,8 @@ first will be printed into the backtrace buffer."
181 ;; in case the user set them with the `e' command. 185 ;; in case the user set them with the `e' command.
182 (setq load-read-function debugger-outer-load-read-function) 186 (setq load-read-function debugger-outer-load-read-function)
183 (setq overriding-local-map debugger-outer-overriding-local-map) 187 (setq overriding-local-map debugger-outer-overriding-local-map)
188 (setq overriding-terminal-local-map
189 debugger-outer-overriding-terminal-local-map)
184 (setq track-mouse debugger-outer-track-mouse) 190 (setq track-mouse debugger-outer-track-mouse)
185 (setq last-command debugger-outer-last-command) 191 (setq last-command debugger-outer-last-command)
186 (setq this-command debugger-outer-this-command) 192 (setq this-command debugger-outer-this-command)
@@ -328,12 +334,16 @@ Applies to the frame whose line point is on in the backtrace."
328 (standard-output debugger-outer-standard-output) 334 (standard-output debugger-outer-standard-output)
329 (cursor-in-echo-area debugger-outer-cursor-in-echo-area) 335 (cursor-in-echo-area debugger-outer-cursor-in-echo-area)
330 (overriding-local-map debugger-outer-overriding-local-map) 336 (overriding-local-map debugger-outer-overriding-local-map)
337 (overriding-terminal-local-map
338 debugger-outer-overriding-terminal-local-map)
331 (load-read-function debugger-outer-load-read-function)) 339 (load-read-function debugger-outer-load-read-function))
332 (store-match-data debugger-outer-match-data) 340 (store-match-data debugger-outer-match-data)
333 (prog1 (eval-expression exp) 341 (prog1 (eval-expression exp)
334 (setq debugger-outer-match-data (match-data)) 342 (setq debugger-outer-match-data (match-data))
335 (setq debugger-outer-load-read-function load-read-function) 343 (setq debugger-outer-load-read-function load-read-function)
336 (setq debugger-outer-overriding-local-map overriding-local-map) 344 (setq debugger-outer-overriding-local-map overriding-local-map)
345 (setq debugger-outer-overriding-terminal-local-map
346 overriding-terminal-local-map)
337 (setq debugger-outer-track-mouse track-mouse) 347 (setq debugger-outer-track-mouse track-mouse)
338 (setq debugger-outer-last-command last-command) 348 (setq debugger-outer-last-command last-command)
339 (setq debugger-outer-this-command this-command) 349 (setq debugger-outer-this-command this-command)