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

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

Re: Unloading modes (php-mode, sgml-mode, etc)


From: Barry Margolin
Subject: Re: Unloading modes (php-mode, sgml-mode, etc)
Date: Fri, 22 Jun 2007 23:00:22 -0400
User-agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X)

In article <address@hidden>,
 HeelHook <address@hidden> wrote:

> I simply cannot find in the documentation how to unload those pesky mode
> libraries that emacs seems to like to load on me: php-mode, sgml-mode, etc.
> Any ideas on what to put in my .emacs file to unload those things? Thanks.

There's no built-in way to do this.  You could list all the functions 
and variables in the mode and then call unintern on all of them.

Why do you need to do this?  What problem does a mode you're not using 
cause?  Emacs only loads most of those modes if you actually load a 
buffer that needs them.

-- 
Barry Margolin, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

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