changeset 17619:c8e876b73dcd

(iswitchb-entryfn-p): Use memq, not member.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 May 1997 00:28:21 +0000
parents 8d33666b1152
children 30a88c9b3505
files lisp/iswitchb.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/iswitchb.el	Fri May 02 00:25:25 1997 +0000
+++ b/lisp/iswitchb.el	Fri May 02 00:28:21 1997 +0000
@@ -1162,11 +1162,11 @@
 (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.