From 1e4bd40da283e6bbd9f501b7fcbc748353173f41 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 9 Jan 2009 05:00:56 +0000 Subject: Replace last-input-char with last-input-event. --- lisp/electric.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/electric.el') 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) -- cgit v1.2.3