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: Dale Mellor
Subject: Re: c-style comments in c++-mode
Date: Sun, 11 Feb 2007 23:16:35 +0000

On Sun, 2007-02-11 at 16:23 -0500, Stefan Monnier wrote:
> > 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 " */")))

Thanks, that's exactly what I needed.  Your help is very much
appreciated.





reply via email to

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