commit 654d4fbf5310b653418efe8296bae577ea59efcc
parent c668be3d7971f412850c11ff25c95012230db4ff
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date: Fri, 3 Mar 2023 13:49:45 +0100
Prefer memq over member when possible
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el
@@ -69,8 +69,8 @@ necessary initialization."
;; Sanity check to prevent defining cursors with inconsistent
;; starting conditions.
(when (and kmacro-x-mc-mode
- (not (member last-command '(kmacro-x-mc-mark-next
- kmacro-x-mc-mark-previous))))
+ (not (memq last-command '(kmacro-x-mc-mark-next
+ kmacro-x-mc-mark-previous))))
(user-error "This command can only be used when starting a bulk edit"))
(unless kmacro-x-mc-mode