summaryrefslogtreecommitdiff
path: root/lisp/iswitchb.el
diff options
context:
space:
mode:
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.