summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Ferreira <renatofdds@gmail.com>2016-11-04 16:41:44 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-11-04 16:42:00 +0100
commit1d0a27e227d41627793187d9bd25d62a05fdaf94 (patch)
tree02367e5ca393d536103eacf69479441a71e11a8a
parent4c4e8433199c15e1077c2a5ec3e73cdb07ae4744 (diff)
downloadorg-mode-1d0a27e227d41627793187d9bd25d62a05fdaf94.tar.gz
Fix "Invalid face attribute/reference" errors
* lisp/org-agenda.el (org-agenda-fontify-priorities): Generate correct :inherit face property.
-rw-r--r--lisp/org-agenda.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 7ee721a..68e82cb 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3837,11 +3837,11 @@ FILTER-ALIST is an alist of filters we need to apply when
ov 'face
(let ((special-face
(cond ((org-face-from-face-or-color
- 'priority nil
+ 'priority 'org-priority
(cdr (assoc p org-priority-faces))))
((and (listp org-agenda-fontify-priorities)
(org-face-from-face-or-color
- 'priority nil
+ 'priority 'org-priority
(cdr (assoc p org-agenda-fontify-priorities)))))
((equal p l) 'italic)
((equal p h) 'bold))))