help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can I add a file extension to a font lock mode


From: Xah Lee
Subject: Re: how can I add a file extension to a font lock mode
Date: Thu, 23 Jul 2009 18:11:33 -0700 (PDT)
User-agent: G2/1.0

On Jul 23, 5:36 pm, n179911 <n179...@gmail.com> wrote:
> Hi,
>
> Can you please tell me how can I add file extension '*.mm' to use
> c/c++ font lock mode?
>
> Thank you.

(add-to-list 'auto-mode-alist '("\\.mm\\'" . c-mode))

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]