(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`
master
Jethro Kuan 5 years ago committed by GitHub
parent f754160402
commit 8ad1414030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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)

Loading…
Cancel
Save