diff options
| author | Richard M. Stallman | 1993-06-03 03:50:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-03 03:50:05 +0000 |
| commit | 70447f8cea67b6dbec03e8adfa085b2ac8f0080e (patch) | |
| tree | 517e5ff66c83845e0f5c8f26fcbabe542d9db581 /lisp/ehelp.el | |
| parent | 7dc8eff950a11c718e9dade91060058453825c13 (diff) | |
| download | emacs-70447f8cea67b6dbec03e8adfa085b2ac8f0080e.tar.gz emacs-70447f8cea67b6dbec03e8adfa085b2ac8f0080e.zip | |
(electric-help-command-loop): Use equal to compare
lists of events.
Diffstat (limited to 'lisp/ehelp.el')
| -rw-r--r-- | lisp/ehelp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ehelp.el b/lisp/ehelp.el index baa2a052181..00e16b657c1 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el | |||
| @@ -127,7 +127,8 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit" | |||
| 127 | (catch 'exit | 127 | (catch 'exit |
| 128 | (if (pos-visible-in-window-p (point-max)) | 128 | (if (pos-visible-in-window-p (point-max)) |
| 129 | (progn (message "<<< Press Space to bury the help buffer >>>") | 129 | (progn (message "<<< Press Space to bury the help buffer >>>") |
| 130 | (if (eq (setq unread-command-events (list (read-event))) ?\ ) | 130 | (if (equal (setq unread-command-events (list (read-event))) |
| 131 | '(?\ )) | ||
| 131 | (progn (setq unread-command-events nil) | 132 | (progn (setq unread-command-events nil) |
| 132 | (throw 'exit t))))) | 133 | (throw 'exit t))))) |
| 133 | (let (up down both neither | 134 | (let (up down both neither |