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

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

Swapping comments and code in the region


From: Nick Sandow
Subject: Swapping comments and code in the region
Date: Fri, 22 Aug 2008 16:44:16 -0700
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Hi,

I think it would be handy to have a function that made comments into code, and code into comments.

That is, if the region consisted of the following 2 lines:

foo();
// bar();

...they would become:

// foo();
bar();

Does anyone know of a package or command out there that does this?

Thanks




reply via email to

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