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

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

Re: Difference when using a variable and a function


From: Markus Triska
Subject: Re: Difference when using a variable and a function
Date: Sun, 12 Nov 2006 03:46:19 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Ronald" <address@hidden> writes:

> 1. (setq global-font-lock-mode t)

,----
| global-font-lock-mode is a variable defined in `font-core.el'.
| ...
| Setting this variable directly does not take effect;
| either customize it (see the info node `Easy Customization')
| or call the function `global-font-lock-mode'.
`----

> I tried both in .emacs, the first doesn't work, the second do. Why?

In the function, additional things are done that otherwise aren't.

All the best! -- Markus


reply via email to

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