From 8ad141403065bebd5a72f0ef53cf5ef8f2034419 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Thu, 13 May 2021 15:04:49 +0700 Subject: [PATCH] (fix): tags: fix vanilla option (#1520) Set `org-file-tags` before pulling tags from buffer. Should fix the 'vanilla option in `org-roam-tag-sources` --- org-roam.el | 1 + 1 file changed, 1 insertion(+) diff --git a/org-roam.el b/org-roam.el index 355897b..a5b23ca 100644 --- a/org-roam.el +++ b/org-roam.el @@ -749,6 +749,7 @@ tag." (defun org-roam--extract-tags-vanilla (_file) "Extract vanilla `org-mode' tags. This includes all tags used in the buffer." + (org-set-regexps-and-options 'tags-only) (-flatten (org-get-buffer-tags))) (defun org-roam--extract-tags (&optional file)