Fix orgtre/anki-editor#16 to make org tags work again
Scanner tags cannot be trusted.
This commit is contained in:
parent
abdee78b2e
commit
88895abfcd
1 changed files with 2 additions and 2 deletions
|
@ -709,8 +709,7 @@ and else from variable `anki-editor-prepend-heading'."
|
||||||
|
|
||||||
(defun anki-editor-note-at-point ()
|
(defun anki-editor-note-at-point ()
|
||||||
"Make a note struct from current entry."
|
"Make a note struct from current entry."
|
||||||
(let* ((org-trust-scanner-tags t)
|
(let* ((deck (org-entry-get-with-inheritance anki-editor-prop-deck))
|
||||||
(deck (org-entry-get-with-inheritance anki-editor-prop-deck))
|
|
||||||
(format (anki-editor-entry-format))
|
(format (anki-editor-entry-format))
|
||||||
(prepend-heading (anki-editor-prepend-heading))
|
(prepend-heading (anki-editor-prepend-heading))
|
||||||
(note-id (org-entry-get nil anki-editor-prop-note-id))
|
(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)))
|
:fields exported-fields)))
|
||||||
|
|
||||||
(defun anki-editor--get-tags ()
|
(defun anki-editor--get-tags ()
|
||||||
|
"Return list of tags of org entry at point."
|
||||||
(let ((tags (anki-editor--entry-get-multivalued-property-with-inheritance
|
(let ((tags (anki-editor--entry-get-multivalued-property-with-inheritance
|
||||||
nil
|
nil
|
||||||
anki-editor-prop-tags)))
|
anki-editor-prop-tags)))
|
||||||
|
|
Loading…
Reference in a new issue