diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-06-03 03:50:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-06-03 03:50:05 +0000 |
commit | 1c20e992b1d9f66d63f632b60672bc8ec5b4d4db (patch) | |
tree | aae5a095e57161b4983f6c1bd6bf59bc7239da16 /lisp/ehelp.el | |
parent | ec0c9dad0b2537135322938f873399cf634282da (diff) | |
download | emacs-1c20e992b1d9f66d63f632b60672bc8ec5b4d4db.tar.gz |
(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" (catch 'exit (if (pos-visible-in-window-p (point-max)) (progn (message "<<< Press Space to bury the help buffer >>>") - (if (eq (setq unread-command-events (list (read-event))) ?\ ) + (if (equal (setq unread-command-events (list (read-event))) + '(?\ )) (progn (setq unread-command-events nil) (throw 'exit t))))) (let (up down both neither |