summaryrefslogtreecommitdiff
path: root/lisp/ehelp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-03 03:50:05 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-03 03:50:05 +0000
commit70447f8cea67b6dbec03e8adfa085b2ac8f0080e (patch)
tree517e5ff66c83845e0f5c8f26fcbabe542d9db581 /lisp/ehelp.el
parent7dc8eff950a11c718e9dade91060058453825c13 (diff)
downloademacs-70447f8cea67b6dbec03e8adfa085b2ac8f0080e.tar.gz
(electric-help-command-loop): Use equal to compare
lists of events.
Diffstat (limited to 'lisp/ehelp.el')
-rw-r--r--lisp/ehelp.el3
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