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

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

[elpa] externals-release/org f135889: macro: Fix keyword macro with mult


From: ELPA Syncer
Subject: [elpa] externals-release/org f135889: macro: Fix keyword macro with multiple keywords
Date: Tue, 2 Nov 2021 10:57:26 -0400 (EDT)

branch: externals-release/org
commit f135889ca11faed5e32ccc8fbbd9f2d516fd2746
Author: Vinicius <vinicius.vin@yandex.com>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    macro: Fix keyword macro with multiple keywords
    
    * lisp/org-macro.el (org-macro-initialize-templates): Properly collect
    multiple keywords' values with "keyword" macro.
---
 lisp/org-macro.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-macro.el b/lisp/org-macro.el
index 1259430..c38a07b 100644
--- a/lisp/org-macro.el
+++ b/lisp/org-macro.el
@@ -173,7 +173,7 @@ a file, \"input-file\" and \"modification-time\"."
                              modtime))))))))
         ;; Install generic macros.
         '(("keyword" . (lambda (arg1 &rest _)
-                          (org-macro--find-keyword-value arg1)))
+                          (org-macro--find-keyword-value arg1 t)))
           ("n" . (lambda (&optional arg1 arg2 &rest _)
                     (org-macro--counter-increment arg1 arg2)))
            ("property" . (lambda (arg1 &optional arg2 &rest _)



reply via email to

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