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

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

Re: c++ and c common mode


From: Leo
Subject: Re: c++ and c common mode
Date: Wed, 13 Dec 2006 03:47:45 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

* [2006.12.13 03:43 +0100] Hadron Quark wrote:
                           ^^^^^^^^^^^^
> I am duplicating hook additions e.g
>
> (add-hook 'c-mode-common-hook 'my-c-init)

I think this line is sufficient.

> 
> (add-hook 'c++-mode-common-hook 'my-c-init)
>

I don't have this variable in Emacs CVS.

>
> Is there not a "common c/c++ hook" or have I messed up?

,----[ C-h v c-mode-common-hook RET ]
| c-mode-common-hook is a variable defined in `cc-vars.el'.
| *Hook called by all CC Mode modes for common initializations.
`----

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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