From: Leo <sdl.web@gmail.com>
Subject: Re: c++ and c common mode
Date: Wed, 13 Dec 2006 03:47:45 +0000 [thread overview]
Message-ID: <m2mz5scv8e.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: ucirggzfap.fsf@gmail.com
* [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)
next prev parent reply other threads:[~2006-12-13 3:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-13 2:43 c++ and c common mode Hadron Quark
2006-12-13 3:47 ` Leo [this message]
[not found] ` <mailman.1813.1165981695.2155.help-gnu-emacs@gnu.org>
2006-12-13 12:00 ` Hadron Quark
2006-12-13 13:52 ` Hadron Quark
2006-12-13 15:32 ` Robert Thorpe
2006-12-13 15:39 ` Hadron Quark
2006-12-13 15:47 ` Robert Thorpe
2006-12-13 16:10 ` Hadron Quark
2006-12-13 16:28 ` Robert Thorpe
2006-12-14 18:28 ` Hadron Quark
2006-12-13 17:57 ` David Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mz5scv8e.fsf@sl392.st-edmunds.cam.ac.uk \
--to=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).