emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [Patch] org-capture.el


From: Mark Scala
Subject: [Orgmode] [Patch] org-capture.el
Date: Wed, 11 Aug 2010 23:02:50 -0500

When capture templates with tags are finalized, those tags are not realigned.  I think this fixes it (does in the cases I've tested).

diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index ece5006..03911da 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -500,7 +500,8 @@ bypassed."
(save-excursion
(when (ignore-errors (org-back-to-heading))
(org-update-parent-todo-statistics)
- (org-update-checkbox-count)))
+ (org-update-checkbox-count)
+ (org-set-tags nil t)))
;; FIXME Here we should do the sorting
;; If we have added a table line, maybe recompute?
(when (and (eq (org-capture-get :type 'local) 'table-line)

--
Mark Scala


reply via email to

[Prev in Thread] Current Thread [Next in Thread]