|
From: | Aurelien Tisne |
Subject: | help on fontify |
Date: | Thu, 31 Oct 2002 09:03:04 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826 |
Hi,I wrote a simple minor mode whose goal is to highlight specific things. So I add patterns to the variable font-lock-keywords and ask font-lock-fontify-buffer. This works fine whith modes that fontify (like emacs-lisp, outline, ...). But it does not work with the text-mode. When I run font-lock-fontify-buffer, the function log "Fontifying file.txt... (syntactically...)". Why syntacticaly? The doc is not very clear about this topic.
Thanks for help -- Aurélien TISNE Communication & Système e-Solutions
[Prev in Thread] | Current Thread | [Next in Thread] |