diff options
| author | Richard M. Stallman | 1993-03-06 06:06:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-06 06:06:10 +0000 |
| commit | 07f6d4ae18f768326e24a6559d0808f5f01aec32 (patch) | |
| tree | eda7d5caeaf196eaa56773841814bb2152f96150 | |
| parent | d42cc509cb31a8e46b90cfc5e7100ab10979f7ae (diff) | |
| download | emacs-07f6d4ae18f768326e24a6559d0808f5f01aec32.tar.gz emacs-07f6d4ae18f768326e24a6559d0808f5f01aec32.zip | |
(electric-help-command-loop): Handle any kind of event.
| -rw-r--r-- | lisp/ehelp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 327d48936ba..e73fe74a124 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el | |||
| @@ -119,7 +119,7 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit" | |||
| 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-events (list (read-char))) ?\ ) | 122 | (if (eq (setq unread-command-events (list (read-event))) ?\ ) |
| 123 | (progn (setq unread-command-events nil) | 123 | (progn (setq unread-command-events nil) |
| 124 | (throw 'exit t))))) | 124 | (throw 'exit t))))) |
| 125 | (let (up down both neither | 125 | (let (up down both neither |