[Top][All Lists]

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

Re: file association in emacs

From: Ivan
Subject: Re: file association in emacs
Date: Fri, 25 May 2007 15:45:44 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (windows-nt)

On петък, Май 25 2007, ypitrey wrote:

> hi,
> how can i have the m4-mode activated automatically when i open a .m4 or .m4x
> file?
> more generally, how can i associate a syntaxic mode with a file type?
> thanks a lot!

Try this way:

(setq auto-mode-alist
      (append '(("\\.m4$" . m4-mode)
                ("\\.m4cx$" . m4-mode)) auto-mode-alist))

reply via email to

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