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

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

Re: How to turn off conf-mode


From: Kevin Rodgers
Subject: Re: How to turn off conf-mode
Date: Fri, 14 Dec 2007 21:35:35 -0700
User-agent: Thunderbird 1.5.0.13 (Macintosh/20070809)

Robert L Knighten wrote:
Thank you for your comments, they certainly make the issue clearer, but where
I am still confused about how to change this in a useful way.  My problem
isn't just what regular expression to use but rather that the one at issue is
part of the defvar of auto-mode-alist that is created when files.el is an
official part of emacs.  Of course I can change files.el, but I certainly do
not want to do that.  And of course I can just redefine auto-mode-alist
changing only the troublesome part, but again I hope there is a less extreme
solution.

Put this in your .emacs file:

(add-to-list 'auto-mode-alist "\\(/\\|\\`\\)cf\\.out\\'" 'text-mode)


--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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