[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modes not doing much
From: |
Colin S. Miller |
Subject: |
Re: modes not doing much |
Date: |
Sat, 12 Aug 2006 12:23:57 +0100 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060713) |
YAD,
Looking a bit closer at my auto-mode-alist shows
it contains, amongs other entries,
("\\.py$" . python-mode)
("\\.ml[iylp]?$" . caml-mode)
("\\.ml\\'" . lisp-mode)
The second entry means .ml optionally follwed by i, y, l, or p,
are in caml-mode.
However, the last entry overrides .ml,
so adding to your .emacs
(remove-alist 'auto-mode-alist '"\\.ml\\'")
should work, if emacs's auto-mode-alist is the same as
XEmacs's.
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the
hostname to reply.