소스 검색

Fix "Invalid face attribute/reference" errors

* lisp/org-agenda.el (org-agenda-fontify-priorities): Generate
correct :inherit face property.
Renato Ferreira 8 년 전
부모
커밋
1d0a27e227
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      lisp/org-agenda.el

+ 2 - 2
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))))