[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with c-mode-common-hook
From: |
Kai Grossjohann |
Subject: |
Re: help with c-mode-common-hook |
Date: |
Thu, 03 May 2007 16:09:23 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
Hadron <hadronquark@gmail.com> writes:
> I'm not sure what ellided means. But how come it works in my direct
> add-hook then? The "old" way was working before (famous last words :-;).
The "direct" method works because you have different code in that
case.
To make the "direct" method fail, you need to do this:
(add-hook 'c-mode-common-hook
(lambda ()
(lambda ()
...same code as before)))
As you can see, there is one lambda too many.
Kai
- help with c-mode-common-hook, Hadron, 2007/05/02
- Re: help with c-mode-common-hook, Robert Thorpe, 2007/05/02
- Re: help with c-mode-common-hook, Hadron, 2007/05/02
- Re: help with c-mode-common-hook, Hadron, 2007/05/02
- Re: help with c-mode-common-hook, Kevin Rodgers, 2007/05/03
- Message not available
- Re: help with c-mode-common-hook, Hadron, 2007/05/03
- Re: help with c-mode-common-hook,
Kai Grossjohann <=
- Message not available
- Re: help with c-mode-common-hook, Hadron, 2007/05/03
- Re: help with c-mode-common-hook, Kai Grossjohann, 2007/05/03
- Re: help with c-mode-common-hook, Robert Thorpe, 2007/05/03
- Message not available
- Re: help with c-mode-common-hook, Hadron, 2007/05/06