diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-06-03 03:48:37 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-06-03 03:48:37 +0000 |
commit | 7dc8eff950a11c718e9dade91060058453825c13 (patch) | |
tree | 6d8da8e54a854ae16731c1e74b709a7d497d98f9 /lisp/electric.el | |
parent | 22ff8740acd23450f730a1770d059bdc772032ea (diff) | |
download | emacs-7dc8eff950a11c718e9dade91060058453825c13.tar.gz |
(Electric-command-loop): Use eq to compare events.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r-- | lisp/electric.el | 4 |
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) |