From d715cc42fa0a08f4d1fa77b35119fa8b7af59a16 Mon Sep 17 00:00:00 2001 From: Marco Wahl Date: Fri, 27 Jan 2017 19:35:16 +0100 Subject: [PATCH] Fix `org-refresh-property' * lisp/org.el(org-refresh-property): Fixed by comparison to the code before the refactoring. With commit 126a1cd7c the "Effort" property broke the agenda. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index db780b356..b5f88be24 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9766,8 +9766,8 @@ sub-tree if optional argument INHERIT is non-nil." ;; TPROP is a text property symbol. (put-text-property start end tprop p) ;; TPROP is an alist with (property . function) elements. - (pcase-dolist (`(,p . ,f) tprop) - (put-text-property start end p (funcall f p)))))))) + (pcase-dolist (`(,prop . ,f) tprop) + (put-text-property start end prop (funcall f p)))))))) (defun org-refresh-category-properties () "Refresh category text properties in the buffer."