[Top][All Lists]

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

Re: Comment/Uncomment in C files?

From: saneman
Subject: Re: Comment/Uncomment in C files?
Date: Sat, 19 Apr 2008 13:02:07 +0200
User-agent: Thunderbird (X11/20080227)

saneman wrote:

(define-key c-mode-base-map "\C-d" nil)

Above gives an error:

An error has occurred while loading `/home/mm/.emacs':

Symbol's value as variable is void: c-mode-base-map

This did the trick:

 (define-key c-mode-base-map "\C-d" 'comment-dwim)

reply via email to

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