From 5a195423d3659aa46032e753ad7b704c9543b804 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 21 Mar 2014 12:51:04 +0100 Subject: [PATCH] org.el (org-refresh-properties): Bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * org.el (org-refresh-properties): Don't add the property to the whole subtree, only to the part between the beginning of the headline and the end of the "content", before any other headline. This fix a bug about properties displayed as inherited in the agenda, where Org properties are checked against text properties. Thanks to Sébastien Vauban for reporting this. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 2e2d39758..70bf19e83 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9281,7 +9281,7 @@ property to set." (save-excursion (org-back-to-heading t) (put-text-property - (point-at-bol) (org-end-of-subtree t t) tprop p)))))))) + (point-at-bol) (outline-next-heading) tprop p)))))))) ;;;; Link Stuff -- 2.11.4.GIT