|Subject:||Inserting "-*- mode: ..." before turning mode on in (compilation-start)|
|Date:||Fri, 27 May 2005 18:54:47 +0200|
|User-agent:||Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707|
Hi,It would be nice if the specified mode in (compilation-start) would get activated before inserting anything (i.e. the mode setter line) into the buffer.
In a function which I added to compilation-mode-hook I change some fontification things including the used font. When (compilation-start) is called using compilation-mode as mode, my function gets called using (funcall mode). However this happens a few lines too late, because the mode setter has already been inserted into the buffer, and so it is not displayed using my font (see attached screen shot).
Kind regards, Markus
|[Prev in Thread]||Current Thread||[Next in Thread]|