-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nicolas Goaziou writes:
> Hello,
>
> stardiviner writes:
>
>> I use function ~org-set-tags~ pragmatically like this:
>
> [...]
>
>> But I found a problem, it will overwrite original tags. It's not appending
>> method.
>
> Well, it is expected
Hello,
stardiviner writes:
> I use function ~org-set-tags~ pragmatically like this:
[...]
> But I found a problem, it will overwrite original tags. It's not appending
> method.
Well, it is expected according to its docstring, isn't it?
> I hope this function can be improve to suitable for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
I use function ~org-set-tags~ pragmatically like this:
#+begin_src emacs-lisp
(defun my/org-add-note--auto-add-tag ()
"Auto add tag 'NOTE' when add note log."
(org-back-to-heading)
(org-set-tags '("LOG")))
(advice-add 'org-add-note :after