diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-02 00:28:21 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-02 00:28:21 +0000 |
commit | dc0e7a600208d03485468965921316791fb1e96c (patch) | |
tree | b83378fb0bf6052319fd5a6fd42b002a54d6b0a4 /lisp/iswitchb.el | |
parent | bec753c5b98a245a6de9ef5954d69f64a323c1f7 (diff) | |
download | emacs-dc0e7a600208d03485468965921316791fb1e96c.tar.gz |
(iswitchb-entryfn-p): Use memq, not member.
Diffstat (limited to 'lisp/iswitchb.el')
-rw-r--r-- | lisp/iswitchb.el | 10 |
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. |