>From 3074c8ad92a7f822374544afa9f9ada61197e4da Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Wed, 13 Apr 2016 22:37:43 -0500 Subject: [PATCH] org.el: Fix getting special properties (org-entry-get-with-inheritance): If property is an special property, get it with org-entry-properties instead of org-property--local-values, which only searches drawers. This may have been broken in commit 188bae9 "Fix property inheritance with extended values". --- lisp/org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index da16da5..39ed6b0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15960,7 +15960,9 @@ However, if LITERAL-NIL is set, return the string value \"nil\" instead." (let (value) (catch 'exit (while t - (let ((v (org-property--local-values property literal-nil))) + (let ((v (if (member-ignore-case property (cons "CATEGORY" org-special-properties)) + (list (cdar (org-entry-properties nil property))) + (org-property--local-values property literal-nil)))) (when v (setq value (concat (mapconcat #'identity (delq nil v) " ") -- 2.7.4