[cp-org] jump to heading in cp-org-set-tags

This commit is contained in:
contrapunctus 2021-02-15 06:13:34 +05:30
parent bc7ceca83e
commit 3b10f4c876
1 changed files with 6 additions and 4 deletions

View File

@ -235,10 +235,12 @@ BUG - improper behaviour with checkboxes.
(interactive)
(let ((all-tags (org-get-buffer-tags))
(current-tags (org-get-tags)))
(org-set-tags
(completing-read-multiple
"Tag: " all-tags nil 'confirm current-tags
'org-tags-history))))
(save-excursion
(org-back-to-heading)
(org-set-tags
(completing-read-multiple
"Tag: " all-tags nil 'confirm current-tags
'org-tags-history)))))
(use-package org-indent
:hook (org-mode . org-indent-mode))