Преглед на файлове

Revert "Fix `org-refresh-property'"

This reverts commit 2132c008d688ab28e2240581e64760e860a029d7.
Marco Wahl преди 8 години
родител
ревизия
b2a232286d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -9677,8 +9677,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 (`(,prop . ,f) tprop)
-	    (put-text-property start end prop (funcall f p))))))))
+	  (pcase-dolist (`(,p . ,f) tprop)
+	    (put-text-property start end p (funcall f p))))))))
 
 (defun org-refresh-category-properties ()
   "Refresh category text properties in the buffer."