summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-03 03:48:37 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-03 03:48:37 +0000
commit7dc8eff950a11c718e9dade91060058453825c13 (patch)
tree6d8da8e54a854ae16731c1e74b709a7d497d98f9 /lisp/electric.el
parent22ff8740acd23450f730a1770d059bdc772032ea (diff)
downloademacs-7dc8eff950a11c718e9dade91060058453825c13.tar.gz
(Electric-command-loop): Use eq to compare events.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r--lisp/electric.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/electric.el b/lisp/electric.el
index d0aa6f81dfc..39d690f5ff9 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -58,7 +58,7 @@
this-command (key-binding cmd)
cmd this-command)
(if (or (prog1 quit-flag (setq quit-flag nil))
- (= last-input-char ?\C-g))
+ (eq last-input-char ?\C-g))
(progn (setq unread-command-events nil
prefix-arg nil)
;; If it wasn't cancelling a prefix character, then quit.
@@ -74,7 +74,7 @@
(progn (command-execute cmd)
(setq last-command this-command)
(if (or (prog1 quit-flag (setq quit-flag nil))
- (= last-input-char ?\C-g))
+ (eq last-input-char ?\C-g))
(progn (setq unread-command-events nil)
(if (not inhibit-quit)
(progn (ding)