[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Config highligt in EMACS
From: |
Holger Sparr |
Subject: |
Re: Config highligt in EMACS |
Date: |
Thu, 03 May 2007 14:48:07 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
anders wrote:
> I have added the follow in my .emacs files
> but EMACS don't turn do anyting visually.
>
> (setq global-font-lock-mode t)
>
> if i use M-x global-font-lock-mode
> it say's turning of so Emacs thinks it is on,
>
With `setq' you are setting the variable.
,----[ C-h v global-font-lock-mode RET ]
| global-font-lock-mode is a variable defined in `font-core.el'.
| Its value is t
|
|
| Documentation:
| Non-nil if Global-Font-Lock mode is enabled.
| See the command `global-font-lock-mode' for a description of this minor-mode.
| 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'.
|
| You can customize this variable.
|
| [back]
`----
With M-x global-font-lock-mode you are calling the function instead.
,----[ C-h f global-font-lock-mode RET ]
| global-font-lock-mode is an interactive compiled Lisp function in
`font-core.el'.
| (global-font-lock-mode &optional arg dummy)
|
| Toggle Font-Lock mode in every buffer.
| With prefix arg, turn Global-Font-Lock mode on if and only if arg is positive.
| Font-Lock mode is actually not turned on in every buffer but only in those
| in which `turn-on-font-lock-if-enabled' turns it on.
|
| [back]
`----
--