(electric-help-command-loop): Handle any kind of event.
authorRichard M. Stallman <rms@gnu.org>
Sat, 6 Mar 1993 06:06:10 +0000 (06:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 6 Mar 1993 06:06:10 +0000 (06:06 +0000)
lisp/ehelp.el

index 327d489..e73fe74 100644 (file)
@@ -119,7 +119,7 @@ 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-events (list (read-char))) ?\  )
+              (if (eq (setq unread-command-events (list (read-event))) ?\  )
                   (progn (setq unread-command-events nil)
                          (throw 'exit t)))))
     (let (up down both neither