[Top][All Lists]

[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 (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
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

reply via email to

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