branch: externals/org-gnosis
commit da2bec84ac1d325d3e3cb0bf8cf908e9cf0bc3b1
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    [fix] insert-tags: Insert tags for nodes with id only.
---
 org-gnosis.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-gnosis.el b/org-gnosis.el
index c814f9e2c9..6157206c95 100644
--- a/org-gnosis.el
+++ b/org-gnosis.el
@@ -489,8 +489,8 @@ If JOURNAL-P is non-nil, retrieve/create node as a journal 
entry."
    (list (completing-read-multiple
          "Select tags (separated by ,): "
          (org-gnosis-select 'tag 'tags '1=1 t))))
-  (if (and (org-before-first-heading-p))
-      (mapc #'org-gnosis-insert-filetag tags)
+  (let ((id (org-gnosis-get-id)))
+    (org-id-goto id)
     (org-set-tags tags)))
 
 ;;;###autoload

Reply via email to