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

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

RE: How can I enable minor mode, always?


From: Drew Adams
Subject: RE: How can I enable minor mode, always?
Date: Sat, 23 Oct 2010 08:15:55 -0700

> > I have to manually enable it for each new buffer I open.
>
> How about adding something to after-change-major-mode-hook?  Use the
> add-hook function.

Another suggestion: use `define-globalized-minor-mode' to define a global minor
mode.  `highlight-80+-mode' is apparently a local minor mode.  Just pass it as
the MODE arg to `define-globalized-minor-mode'.




reply via email to

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