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: Ralf Angeli
Subject: Re: c-style comments in c++-mode
Date: Sun, 11 Feb 2007 22:35:45 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

* Stefan Monnier (2007-02-11) writes:

>> 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 ...

-- 
Ralf


reply via email to

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