emacs-devel
[Top][All Lists]
Advanced

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

Re: A bad indentation made by C


From: Stefan Monnier
Subject: Re: A bad indentation made by C
Date: Mon, 23 Apr 2007 00:49:15 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux)

> I want to set c-special-indent-hook to nil locally in the buffer and I do
> not want to run the global hook then.  Is the global hook still run when
> I set the local hook to nil?  I believe it is not run, but I am not sure.

Read the Elisp manual's section about Hooks.
The local hook contains a special entry t which means "run the global hook".
So if you remove the t, the local hook will ignore the global hook.
E.g. if you set the local value to nil, nothing is run.


        Stefan




reply via email to

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