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

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

Re: editing mode: .ml files


From: Kevin Rodgers
Subject: Re: editing mode: .ml files
Date: Mon, 19 Jun 2006 14:20:53 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

r.stiltskin wrote:
Yes, I haven't gotten around to installing an ml-mode yet, but I'd like to
get rid of the lisp association.  I see that it appears in files.el in the
section:
(defvar auto-mode-alist
  (mapc
   (lambda (elt)
     (cons (purecopy (car elt)) (cdr elt)))
     '...
     ("\\.ml\\'" . lisp-mode)
     ...'
but deleting the .ml line from files.el doesn't seem to have any effect --
emacs still comes up with ("\\.ml\\'" . lisp-mode) included in
auto-mode-alist.

How can I get rid of it?

Put this in your ~/.emacs file:

(setq auto-mode-alist
      (cons "\\.ml\\'" . fundamental-mode) auto-mode-alist))

--
Kevin





reply via email to

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