bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25124: [PATCH] gnus-message-citation-mode should fontify if derived


From: Hong Xu
Subject: bug#25124: [PATCH] gnus-message-citation-mode should fontify if derived from message-mode.
Date: Thu, 16 Feb 2017 14:12:42 -0800
User-agent: mu4e 0.9.19; emacs 25.2.4

On 2016-12-06 Tue 01:27 GMT-0800, Hong Xu <address@hidden> wrote:

>       * gnus-cite.el (gnus-message-citation-mode): Fontify if the major
>       mode is derived from message-mode (not necessarily equal to
>       message-mode).
> ---
>  lisp/gnus/gnus-cite.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/gnus/gnus-cite.el b/lisp/gnus/gnus-cite.el
> index 502a3be35550..e012b256d09d 100644
> --- a/lisp/gnus/gnus-cite.el
> +++ b/lisp/gnus/gnus-cite.el
> @@ -1204,7 +1204,7 @@ gnus-message-citation-mode
>    nil ;; init-value
>    "" ;; lighter
>    nil ;; keymap
> -  (when (eq major-mode 'message-mode)   ;FIXME: Use derived-mode-p.
> +  (when (derived-mode-p 'message-mode)
>      ;; FIXME: Use font-lock-add-keywords!
>      (let ((defaults (car (if (featurep 'xemacs)
>                            (get 'message-mode 'font-lock-defaults)


Still consider this patch? The fix is quite straightforward.

Attachment: signature.asc
Description: PGP signature


reply via email to

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