org.el (org-refresh-properties): Bugfix

* 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.
This commit is contained in:
Bastien Guerry 2014-03-21 12:51:04 +01:00
parent f8cb7803cc
commit 5a195423d3
1 changed files with 1 additions and 1 deletions

View File

@ -9281,7 +9281,7 @@ property to set."
(save-excursion (save-excursion
(org-back-to-heading t) (org-back-to-heading t)
(put-text-property (put-text-property
(point-at-bol) (org-end-of-subtree t t) tprop p)))))))) (point-at-bol) (outline-next-heading) tprop p))))))))
;;;; Link Stuff ;;;; Link Stuff