summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-01-09 05:00:56 +0000
committerGlenn Morris <rgm@gnu.org>2009-01-09 05:00:56 +0000
commit45ad93a876909ca85d19a6d9756613c7ded2aba8 (patch)
tree7f23e8c2ab769e2fab75e5faca5fa6953ad492cb /lisp/electric.el
parent673a3b65fe0508e5ed595a9ab23338cca0fc650d (diff)
downloademacs-45ad93a876909ca85d19a6d9756613c7ded2aba8.tar.gz
Replace last-input-char with last-input-event.
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 498f1e4f138..3adecb82f40 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -71,7 +71,7 @@
;; This makes universal-argument-other-key work.
(setq universal-argument-num-events 0)
(if (or (prog1 quit-flag (setq quit-flag nil))
- (eq last-input-char ?\C-g))
+ (eq last-input-event ?\C-g))
(progn (setq unread-command-events nil
prefix-arg nil)
;; If it wasn't cancelling a prefix character, then quit.
@@ -87,7 +87,7 @@
(progn (command-execute cmd)
(setq last-command this-command)
(if (or (prog1 quit-flag (setq quit-flag nil))
- (eq last-input-char ?\C-g))
+ (eq last-input-event ?\C-g))
(progn (setq unread-command-events nil)
(if (not inhibit-quit)
(progn (ding)