Align tags after editing Org headlines

This commit is contained in:
Daniel Borchmann 2025-08-24 14:15:52 +02:00
parent 0dd4391d09
commit 7994a01618
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -1258,6 +1258,7 @@ cache if that's in use."
(let ((old-headline (org-entry-get (point) "ITEM"))) (let ((old-headline (org-entry-get (point) "ITEM")))
;; Update headline ;; Update headline
(org-edit-headline new-headline) (org-edit-headline new-headline)
(org-align-tags)
;; Code to add note interactively taken from ;; Code to add note interactively taken from
;; https://sachachua.com/blog/2022/11/logging-sent-messages-to-org-mode-with-message-sent-hook/ ;; https://sachachua.com/blog/2022/11/logging-sent-messages-to-org-mode-with-message-sent-hook/