* bytecomp.el: Declare unread-command-char an obsolete variable.
authorJim Blandy <jimb@redhat.com>
Mon, 16 Nov 1992 01:30:45 +0000 (01:30 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 16 Nov 1992 01:30:45 +0000 (01:30 +0000)
* 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.

lisp/ehelp.el

index 050a6cc..c6a7b77 100644 (file)
@@ -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 " ")