|
@@ -14716,10 +14716,10 @@ in the current file."
|
|
|
(interactive (list nil nil))
|
|
|
(let* ((property (or property (org-read-property-name)))
|
|
|
(value (or value (org-read-property-value property)))
|
|
|
- (fn (assoc property org-properties-postprocess-alist)))
|
|
|
+ (fn (cadr (assoc property org-properties-postprocess-alist))))
|
|
|
(setq org-last-set-property property)
|
|
|
;; Possibly postprocess the inserted value:
|
|
|
- (when fn (setq value (funcall (cadr fn) value)))
|
|
|
+ (when fn (setq value (funcall fn value)))
|
|
|
(unless (equal (org-entry-get nil property) value)
|
|
|
(org-entry-put nil property value))))
|
|
|
|