emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/cursory a9076f6a0f 5/5: Use memq instead of member in o


From: ELPA Syncer
Subject: [elpa] externals/cursory a9076f6a0f 5/5: Use memq instead of member in one example
Date: Sat, 14 Sep 2024 03:58:04 -0400 (EDT)

branch: externals/cursory
commit a9076f6a0f06ec4f0f572aaf3a4d318959bac918
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Use memq instead of member in one example
---
 README.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 5061f73a8c..f96ae223d7 100644
--- a/README.org
+++ b/README.org
@@ -235,7 +235,7 @@ invoked without any arguments), which is called after the 
command
 
 (defun my-cursory-change-color-disable-line-numbers ()
   "Disable line numbers if the Cursory preset is `presentation' or `focus'."
-  (when (member cursory-last-selected-preset '(presentation focus))
+  (when (memq cursory-last-selected-preset '(presentation focus))
     (display-line-numbers-mode -1)))
 #+end_src
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]