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: Sun, 11 Feb 2007 16:23:35 -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 " */")))


-- Stefan


reply via email to

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