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

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

Re: file association in emacs


From: Thomas Hühn
Subject: Re: file association in emacs
Date: Fri, 25 May 2007 14:24:50 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

ypitrey <ypitrey@gmail.com> writes:

> 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?

Add something like ("\\.m4$" . m4-mode) to auto-mode-alist.

Thomas






reply via email to

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