[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to enable the syntax highlighting for comments within files havi
From: |
pjb |
Subject: |
Re: How to enable the syntax highlighting for comments within files having a specific extension? |
Date: |
Thu, 27 Aug 2009 13:57:10 -0700 (PDT) |
User-agent: |
G2/1.0 |
On August 14, 2009 4:21:56 PM CEDT, gento
<gento_distef...@hotmail.com> wrote:
> I've made this modification to .emacs
>
> (add-hook 'find-file-hooks
> (lambda ()
> (when (string-match "\\.jou$" (buffer-file-name))
> (setq comment-start "/")
> (font-lock-add-keywords nil '("\\(/.*\\)$" (1
> font-lock-comment-face)))
> )
> )
> )
>
> but I still have no coloring of the commented lines :(
It works for me (with emacs 22.3.1). Have you evaluated the above
form?
--
__Pascal Bourguignon__
- Re: How to enable the syntax highlighting for comments within files having a specific extension?,
pjb <=