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
commitec0c9dad0b2537135322938f873399cf634282da (patch)
tree459c0b4142705c2693f198784b0a31b127adc02a /lisp/electric.el
parenteb2c120dca7a79b8e6f5ce88850b40bbd1f48f09 (diff)
downloademacs-ec0c9dad0b2537135322938f873399cf634282da.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)