[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to load a minor-mode at startup
From: |
Kevin Rodgers |
Subject: |
Re: how to load a minor-mode at startup |
Date: |
Sat, 03 Jan 2009 09:07:00 -0700 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
Aurélien Bottazini wrote:
I am an emacs beginner.
I can't find a way to load one of my minor mode automatically.
It's whitespace-mode coming from whitespace.el.
in my init.el I have put:
(require 'whitespace)
I have tried to put after it something like
(whitespace-mode)
or (whitespace-mode t) but it does not work.
I always have to activate whitespace-mode by hand with
M-x whitespace-mode
What version of Emacs are you using? In Emacs 22.3, whitespace.el does
not define a function called whitespace-mode. It does define a command
called whitespace-global-mode, which sounds like what you want.
--
Kevin Rodgers
Denver, Colorado, USA
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: how to load a minor-mode at startup,
Kevin Rodgers <=