[Top][All Lists]

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

Re: How can I enable minor mode, always?

From: paxxus
Subject: Re: How can I enable minor mode, always?
Date: Tue, 26 Oct 2010 16:49:41 -0700 (PDT)

Thanks for the suggestions.

I used fundamental-mode, always. It turns out that you can't add hooks to
that mode, so I changed my default mode to text-mode, and then added this

(add-hook 'text-mode-hook (lambda () (interactive) (highlight-80+-mode 1)))

The define-globalized-minor-mode also looks interesting, I'll try that out.

I have now worked a couple of days in text-mode instead of fundamental-mode,
and I can't detect any difference at all (which is good for what I want). Is
there a difference other than the hook stuff?
View this message in context:
Sent from the Emacs - Help mailing list archive at

reply via email to

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