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

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

Re: How to configure Emacs to autoload modes?


From: Kevin Rodgers
Subject: Re: How to configure Emacs to autoload modes?
Date: Fri, 21 Feb 2003 10:51:47 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Peter Wu wrote:

Lucas wrote:
To do that in Emacs, simply :
(setq auto-mode-alist (append
     '(("\\.ext1$" . mode-for-ext1)
       ("\\.ext2$" . mode-for-ext2)) auto-mode-alist))

Yes. This method works.


That is the correct way to do it.

But I'm sure you'll get the same result by editing files.el, with being
((((careful)) (to) '(((parenthesis))))) and "strings" that end
anywhere".


However, it does not work for me after I modified the files.el and
loaddefs.el. What could I have missed? Thanks!

The fact that they are dumped into the emacs executable and therefore not loaded
at run time.

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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