mirror of
https://github.com/SqrtMinusOne/org-journal-tags.git
synced 2025-12-10 10:53:04 +03:00
fix: encrypt entries on refactor
This commit is contained in:
parent
d2375f42c8
commit
7578762cda
1 changed files with 5 additions and 0 deletions
|
|
@ -72,6 +72,9 @@
|
|||
;; Same with org-contacts.
|
||||
(declare-function org-contacts-db "org-contacts")
|
||||
|
||||
;; And org-encrypt.
|
||||
(declare-function org-encrypt-entries "org-crypt")
|
||||
|
||||
(defgroup org-journal-tags ()
|
||||
"Tagging and querying system for org-journal."
|
||||
:group 'org-journal)
|
||||
|
|
@ -1900,6 +1903,8 @@ If called interactively, prompt for both."
|
|||
source-tag-name target-tag-name)
|
||||
(org-journal-tags--refactor-buffer-section
|
||||
source-tag-name target-tag-name)
|
||||
(when (fboundp #'org-encrypt-entries)
|
||||
(org-encrypt-entries))
|
||||
(save-buffer)))))
|
||||
|
||||
;; Status buffer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue