branch: externals/denote
commit 3209bc23ef61260d0856e22190d163de1f069fa7
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Use "#+filetags" for wider Org compatibility
    
    This is because there are other packages which read the filetags for
    their purposes.  There is no compelling reason to have a non-standard
    "#+keywords" for this entry.
    
    Thanks to Kaushal Modi for the feedback, which was sent via email (this
    is shared with permission).
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 6a4a911aa3..83da40ce76 100644
--- a/denote.el
+++ b/denote.el
@@ -289,7 +289,7 @@ TITLE, DATE, KEYWORDS, FILENAME, ID are all strings which 
are
   (let ((kw (denote--keywords-capitalize keywords)))
     (concat "#+title:      " title     "\n"
             "#+date:       " date      "\n"
-            "#+keywords:   " kw        "\n"
+            "#+filetags:   " kw        "\n"
             "#+identifier: " id        "\n"
             "#+filename:   " (string-remove-prefix denote-directory filename)  
"\n"
             "#+path:       " filename  "\n"

Reply via email to