summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r--lisp/emacs-lisp/debug.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 1cbaf646a5d..49c9646a88a 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -81,7 +81,7 @@ first will be printed into the backtrace buffer."
(debugger-outer-cursor-in-echo-area cursor-in-echo-area))
;; Don't let these magic variables affect the debugger itself.
(let ((last-command nil) this-command track-mouse
- unread-command-char unread-command-events
+ (unread-command-char -1) unread-command-events
last-input-event last-command-event last-nonmenu-event
last-event-frame
(standard-input t) (standard-output t)