all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: saneman <ddd@sdf.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Comment/Uncomment in C files?
Date: Sat, 19 Apr 2008 13:02:07 +0200	[thread overview]
Message-ID: <4809d0ee$0$90270$14726298@news.sunsite.dk> (raw)
In-Reply-To: <4809cde8$0$90266$14726298@news.sunsite.dk>

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	other threads:[~2008-04-19 11:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19  9:06 Comment/Uncomment in C files? saneman
2008-04-19  9:48 ` Lennart Borgman (gmail)
2008-04-19 10:25 ` Alan Mackenzie
     [not found] ` <mailman.10571.1208599695.18990.help-gnu-emacs@gnu.org>
2008-04-19 10:49   ` saneman
2008-04-19 11:02     ` saneman [this message]
2008-04-20 11:40       ` Alan Mackenzie
     [not found]       ` <mailman.10603.1208690550.18990.help-gnu-emacs@gnu.org>
2008-04-20 11:48         ` Joost Kremers
2008-04-20 12:58           ` David Hansen
2008-04-19 17:10 ` David Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4809d0ee$0$90270$14726298@news.sunsite.dk' \
    --to=ddd@sdf.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.