mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(iswitchb-entryfn-p): Use memq, not member.
This commit is contained in:
parent
888472e073
commit
662659f092
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user