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

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

Re: mail-mode: colors in multiply-quoted lines


From: E.
Subject: Re: mail-mode: colors in multiply-quoted lines
Date: Thu, 24 Feb 2011 07:28:00 -0800 (PST)
User-agent: G2/1.0

> To get this kind of multiple-quoting highlighting, you could do
> something like:
>
>   (add-hook 'message-mode-hook
>             (lambda ()
>               (font-lock-add-keywords nil
>                 '(("^[ \t]*>[ \t\f]*>.*$" (0 'foo-face)))))
>
> where `foo-face' is the face you'd like to use for such quoting.

Works perfectly for mail-mode, I added the code to mail-mode-hook
in .emacs (using emacs as an alternate editor for alpine). Thank you!


reply via email to

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