summaryrefslogtreecommitdiff
path: root/lisp/iswitchb.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-02 00:28:21 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-02 00:28:21 +0000
commit662659f092d37a67a7b9211bdf3c9de32a082ed1 (patch)
treed3c0eb9a7ca6af75c62999faf3c68ee9daa80e66 /lisp/iswitchb.el
parent888472e07387e88d7b0a1178ca8a338e0e3c3bcb (diff)
downloademacs-662659f092d37a67a7b9211bdf3c9de32a082ed1.tar.gz
(iswitchb-entryfn-p): Use memq, not member.
Diffstat (limited to 'lisp/iswitchb.el')
-rw-r--r--lisp/iswitchb.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index 7ac80b5642a..ddd14e0188d 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -1162,11 +1162,11 @@ Copied from `icomplete-tidy'."
(defun iswitchb-entryfn-p ()
"Return non-nil if `this-command' shows we are using `iswitchb-buffer'."
(and (symbolp this-command) ; ignore lambda functions
- (member (symbol-name this-command)
- '("iswitchb-buffer"
- "iswitchb-buffer-other-frame"
- "iswitchb-display-buffer"
- "iswitchb-buffer-other-window"))))
+ (memq this-command
+ '(iswitchb-buffer
+ iswitchb-buffer-other-frame
+ iswitchb-display-buffer
+ iswitchb-buffer-other-window))))
(defun iswitchb-summaries-to-end ()
"Move the summaries to the end of the list.