|
From: | Juri Linkov |
Subject: | Re: highlighting non-ASCII characters |
Date: | Wed, 24 Mar 2010 11:27:48 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
> I can set up font-lock for myself, of course, but was wondering > if Emacs has a simple built-in way to highlight them. This is what `hi-lock.el' is intended for. You can put (highlight-regexp "[[:nonascii:]]" 'escape-glyph) to any hook you want with any face you want. Or to add file-local patterns like Hi-lock:(("[[:nonascii:]]" (0 (quote escape-glyph) t))). -- Juri Linkov http://www.jurta.org/emacs/
[Prev in Thread] | Current Thread | [Next in Thread] |