From 88895abfcdb15402471a44603d022b8991a9a608 Mon Sep 17 00:00:00 2001 From: orgtre Date: Thu, 5 Jan 2023 18:07:07 +0100 Subject: [PATCH] Fix orgtre/anki-editor#16 to make org tags work again Scanner tags cannot be trusted. --- anki-editor.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anki-editor.el b/anki-editor.el index 60ec2a7..aab1bfc 100644 --- a/anki-editor.el +++ b/anki-editor.el @@ -709,8 +709,7 @@ and else from variable `anki-editor-prepend-heading'." (defun anki-editor-note-at-point () "Make a note struct from current entry." - (let* ((org-trust-scanner-tags t) - (deck (org-entry-get-with-inheritance anki-editor-prop-deck)) + (let* ((deck (org-entry-get-with-inheritance anki-editor-prop-deck)) (format (anki-editor-entry-format)) (prepend-heading (anki-editor-prepend-heading)) (note-id (org-entry-get nil anki-editor-prop-note-id)) @@ -744,6 +743,7 @@ and else from variable `anki-editor-prepend-heading'." :fields exported-fields))) (defun anki-editor--get-tags () + "Return list of tags of org entry at point." (let ((tags (anki-editor--entry-get-multivalued-property-with-inheritance nil anki-editor-prop-tags)))