changeset 19930:1e0f347ee021

(edebug-enter): Save, and bind to nil, overriding-local-map and overriding-terminal-local-map.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Sep 1997 03:29:47 +0000
parents 0ccbd9bdcd8f
children a17cd573df1c
files lisp/emacs-lisp/edebug.el
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el	Sun Sep 14 20:27:34 1997 +0000
+++ b/lisp/emacs-lisp/edebug.el	Mon Sep 15 03:29:47 1997 +0000
@@ -2232,6 +2232,9 @@
 (defvar edebug-outside-debug-on-error) ; the value of debug-on-error outside
 (defvar edebug-outside-debug-on-quit) ; the value of debug-on-quit outside
 
+(defvar edebug-outside-overriding-local-map)
+(defvar edebug-outside-overriding-terminal-local-map)
+
 (defvar edebug-outside-pre-command-hook)
 (defvar edebug-outside-post-command-hook)
 
@@ -2292,6 +2295,10 @@
 	    ;; Lexical bindings must be uncompiled for this to work.
 	    (cl-lexical-debug t)
 
+	    (edebug-outside-overriding-local-map overriding-local-map)
+	    (edebug-outside-overriding-terminal-local-map
+	     overriding-terminal-local-map)
+
 	    ;; Save the outside value of executing macro.  (here??)
 	    (edebug-outside-executing-macro executing-kbd-macro)
 	    (edebug-outside-pre-command-hook pre-command-hook)
@@ -2303,6 +2310,10 @@
 		  (executing-kbd-macro 
 		   (if edebug-continue-kbd-macro executing-kbd-macro))
 
+		  ;; Don't get confused by the user's keymap changes.
+		  (overriding-local-map nil)
+		  (overriding-terminal-local-map nil)
+
 		  (signal-hook-function 'edebug-signal)
 
 		  ;; Disable command hooks.  This is essential when