emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org-agenda.el Correct :inherit on org-agenda-fontify-pri


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] org-agenda.el Correct :inherit on org-agenda-fontify-priorities
Date: Fri, 04 Nov 2016 16:44:56 +0100

Hello,

Renato Ferreira <address@hidden> writes:

> Fixes "Invalid face attribute/reference" errors
>
> * lisp/org-agenda.el (org-agenda-fontify-priorities): generates correct
> :inherit face property.
>
> ---
> lisp/org-agenda.el | 4 ++--
> 1 file 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))))

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]