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
commit1e4bd40da283e6bbd9f501b7fcbc748353173f41 (patch)
tree023038713fe26febec1d66ff460fe26aea104dc4 /lisp/electric.el
parentcfa29281070a1f7868ed42f330d9a666b2fc39e2 (diff)
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)