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

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

Re: Toggle commenting in auctex?


From: saneman
Subject: Re: Toggle commenting in auctex?
Date: Fri, 18 Apr 2008 13:27:58 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Johan Bockgård wrote:
saneman <ddd@sdf.com> writes:

In emacs 'd' and the 'delete' key are the same for some reason. Is
there a way to assign the operation to 'd' without also assigning it
too 'delete'?

(global-set-key "\C-d" 'comment-dwim)
(define-key function-key-map [delete] [deletechar])


Does not work. If I have selected a region of text and press delete it get commented and not deleted.


reply via email to

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