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

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

Re: .emacs - minor mode behavior


From: Stefan Monnier
Subject: Re: .emacs - minor mode behavior
Date: Wed, 14 Feb 2007 12:04:31 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

> (setq column-number-mode t)

> I understand that this line is setting 'column-number-mode to t
> (true).  I also understand that this variable is created along with
> the column-number-mode function by the define-minor-mode macro in
> simple.el.

And it just happens to work because the definition of the minor mode is
sufficiently simple.  Better to use

  (column-number-mode 1)


-- Stefan


reply via email to

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