summaryrefslogtreecommitdiff
path: root/lisp/ehelp.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-11-16 01:30:45 +0000
committerJim Blandy <jimb@redhat.com>1992-11-16 01:30:45 +0000
commit4da495f314516b688ef0737e88bc7d0d0be30420 (patch)
tree67cd95134747593824fa9d38825277dcd9e280ea /lisp/ehelp.el
parentb351399ac87198cfcf5a247fb6d0eaa670d1a918 (diff)
downloademacs-4da495f314516b688ef0737e88bc7d0d0be30420.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. * ehelp.el (electric-help-command-loop): Same.
Diffstat (limited to 'lisp/ehelp.el')
-rw-r--r--lisp/ehelp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ehelp.el b/lisp/ehelp.el
index 050a6cc48a6..c6a7b77716a 100644
--- a/lisp/ehelp.el
+++ b/lisp/ehelp.el
@@ -119,8 +119,8 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit"
(catch 'exit
(if (pos-visible-in-window-p (point-max))
(progn (message "<<< Press Space to bury the help buffer >>>")
- (if (= (setq unread-command-char (read-char)) ?\ )
- (progn (setq unread-command-char -1)
+ (if (= (setq unread-command-event (read-char)) ?\ )
+ (progn (setq unread-command-event nil)
(throw 'exit t)))))
(let (up down both neither
(standard (and (eq (key-binding " ")