summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-11-16 01:31:33 +0000
committerJim Blandy <jimb@redhat.com>1992-11-16 01:31:33 +0000
commitee4b6d4c618a48c0bc301ba01dde89893f097713 (patch)
tree11e5ef0bce0fc22e5c85fe4b3dc38efa519555d4 /lisp/electric.el
parent4da495f314516b688ef0737e88bc7d0d0be30420 (diff)
downloademacs-ee4b6d4c618a48c0bc301ba01dde89893f097713.tar.gz
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value, vip-prefix-arg-com): Use unread-command-event instead of unread-command-char; respect its new semantics. * electric.el (Electric-command-loop): Same.
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 a3626a007e5..acc002abaac 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -85,7 +85,7 @@
cmd this-command)
(if (or (prog1 quit-flag (setq quit-flag nil))
(= last-input-char ?\C-g))
- (progn (setq unread-command-char -1
+ (progn (setq unread-command-event nil
prefix-arg nil)
;; If it wasn't cancelling a prefix character, then quit.
(if (or (= (length (this-command-keys)) 1)
@@ -101,7 +101,7 @@
(setq last-command this-command)
(if (or (prog1 quit-flag (setq quit-flag nil))
(= last-input-char ?\C-g))
- (progn (setq unread-command-char -1)
+ (progn (setq unread-command-event nil)
(if (not inhibit-quit)
(progn (ding)
(message "Quit")