comparison 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
comparison
equal deleted inserted replaced
1607:c154322a8546 1608:e198e33a4c09
117 117
118 (defun electric-help-command-loop () 118 (defun electric-help-command-loop ()
119 (catch 'exit 119 (catch 'exit
120 (if (pos-visible-in-window-p (point-max)) 120 (if (pos-visible-in-window-p (point-max))
121 (progn (message "<<< Press Space to bury the help buffer >>>") 121 (progn (message "<<< Press Space to bury the help buffer >>>")
122 (if (= (setq unread-command-char (read-char)) ?\ ) 122 (if (= (setq unread-command-event (read-char)) ?\ )
123 (progn (setq unread-command-char -1) 123 (progn (setq unread-command-event nil)
124 (throw 'exit t))))) 124 (throw 'exit t)))))
125 (let (up down both neither 125 (let (up down both neither
126 (standard (and (eq (key-binding " ") 126 (standard (and (eq (key-binding " ")
127 'scroll-up) 127 'scroll-up)
128 (eq (key-binding "\^?") 128 (eq (key-binding "\^?")