|
From: | saneman |
Subject: | Re: Comment/Uncomment in C files? |
Date: | Sat, 19 Apr 2008 13:02:07 +0200 |
User-agent: | Thunderbird 2.0.0.12 (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)
[Prev in Thread] | Current Thread | [Next in Thread] |