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

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

how to load a minor-mode at startup


From: Aurélien Bottazini
Subject: how to load a minor-mode at startup
Date: Tue, 30 Dec 2008 18:13:36 +0100

 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

I think there is a simple way to do it but I am missing it.
Can someone help me?

Thanks!

Aurélien

reply via email to

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