|
From: | Stefan Monnier |
Subject: | Re: change function assignment |
Date: | Sun, 24 Oct 2004 23:21:04 GMT |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> I use emacs for C++ programming. The c-mode provides a nice 'comment-box' > function like this: > /***********/ > /* text */ > /***********/ > but in c++-mode this changes to: > /////////////// > // text // > /////////////// `comment-box' is (as the name implies) non-specific to C or C++. It uses comment-start and comment-end to decide what comment markers to use. So you can just change your C++ mode to use /* and */ for comment-start and comment-end. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |