Mercurial > emacs
diff lisp/ehelp.el @ 1608:e198e33a4c09
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 16 Nov 1992 01:30:45 +0000 |
parents | 9f3cc03dae67 |
children | 04fb1d3d6992 |
line wrap: on
line diff
--- a/lisp/ehelp.el Mon Nov 16 01:29:47 1992 +0000 +++ b/lisp/ehelp.el Mon Nov 16 01:30:45 1992 +0000 @@ -119,8 +119,8 @@ (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 " ")