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

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

Re: Uncomment keybinding


From: Stefan Monnier <address@hidden>
Subject: Re: Uncomment keybinding
Date: 15 Jan 2003 19:17:24 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Kevin" == Kevin Breit <mrproper@ximian.com> writes:
>       How do I setup a keybinding in emacs 21.2 to uncomment a selection?

Just like any other keybinding:

  (global-set-key [my C-key] 'uncomment-region)

but note that M-; should do it for you if the region is fully commented out
and if you're using transient-mark-mode.


        Stefan


reply via email to

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