[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-compile-keywords and tcl.el
From: |
Stefan Monnier |
Subject: |
Re: font-lock-compile-keywords and tcl.el |
Date: |
Wed, 17 Nov 2004 14:39:03 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> in a mixture of warning and string face, when there's nothing wrong or
> risky with it as a tcl statement AFAICS. It somehow comes from the
> "Try to detect when a string or comment contains something that looks
> like a defun and would thus confuse font-lock" bit of
> font-lock-compile-keywords. Is it due to tcl.el adding
> beginning-of-defun to font-lock-defaults?
it's related, yes.
It seems that Tcl's defun-prompt-regexp matches too many things.
Stefan