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

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

RE: Binding C-c C-c to Perl Comments


From: andrew . maguire
Subject: RE: Binding C-c C-c to Perl Comments
Date: Thu, 2 Oct 2003 13:43:39 -0400

> From: Dan Anderson 
> 
> In C Mode when I press C-c C-c it comments out the marked text in a
> buffer using C type comments -- i.e. //
> 
> Is there a way to tell C-c C-c to use # instead in perl mode?

(define-key cperl-mode-map "\C-c\C-c" 'comment-region)

Andrew




reply via email to

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