Parcourir la source

org.el (org-refresh-properties): Put the text property on the whole subtree, not just on the headline

* org.el (org-refresh-properties): Put the text property on
the whole subtree, not just on the headline.

Thanks to Ivan Kanis for reporting this and to Miguel Ruiz for confirming
the bug.
Bastien Guerry il y a 12 ans
Parent
commit
2ae3e91076
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

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