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

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

[elpa] externals/org 48169da265 1/2: lisp/org.el (org-make-tags-matcher)


From: ELPA Syncer
Subject: [elpa] externals/org 48169da265 1/2: lisp/org.el (org-make-tags-matcher): Suppress compiler warning
Date: Mon, 6 May 2024 09:58:44 -0400 (EDT)

branch: externals/org
commit 48169da26502fa8c5d4f3e12a58b4de2cac526b9
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/org.el (org-make-tags-matcher): Suppress compiler warning
---
 lisp/org.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 3d3aca2a64..09541ea0b9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11618,7 +11618,12 @@ See also `org-scan-tags'."
                     (or tagsmatcher todomatcher t))))
       (when org--matcher-tags-todo-only
        (setq matcher `(and (member todo org-not-done-keywords) ,matcher)))
-      (cons match0 (byte-compile `(lambda (todo tags-list level) ,matcher))))))
+      (cons match0
+            (byte-compile
+             `(lambda (todo tags-list level)
+                ;; Pacify byte-compiler.
+                (ignore todo) (ignore tags-list) (ignore level)
+                ,matcher))))))
 
 (defun org--tags-expand-group (group tag-groups expanded)
   "Recursively expand all tags in GROUP, according to TAG-GROUPS.



reply via email to

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