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

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

Re: c-style comments in c++-mode


From: Stefan Monnier
Subject: Re: c-style comments in c++-mode
Date: Mon, 12 Feb 2007 11:49:37 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

>>> What's the quickest way to tell c++-mode to insert c-style comments?
>> (add-hook 'c++-mode-hook
>>           (lambda () (setq comment-start "/* ") (setq comment-end " */")))
> Or with a CC Mode style ...

Probably, but I use too many major modes to be bothered to learn each and
every one's new idiosyncratic way to configure it.  Especially since Emacs
provides perfectly good generic ways to do that.


        Stefan


reply via email to

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