[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change keys for uncomment (C-u C-c C-c)?
From: |
Kevin Rodgers |
Subject: |
Re: How to change keys for uncomment (C-u C-c C-c)? |
Date: |
Thu, 21 Apr 2005 14:32:38 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
JS wrote:
> I just wrote this in my .emacs file:
>
> (add-hook 'this-major-mode-hook
> (lambda ()
> (local-set-key "\C-cc" 'uncomment-region)))
>
> But when I restart emacs the program is split in two and I get this
error:
>
> An error has occurred while loading `/home/johs/.emacs':
>
> Symbol's value as variable is void:
That form would not (in fact, cannot) cause that error. Either you
mistyped it or there is another error in your .emacs file.
> To ensure normal operation, you should investigate the cause
> of the error in your initialization file and remove it. Start
> Emacs with the `--debug-init' option to view a complete error
> backtrace
> Loading view...done
So why don't you try that? It will bring up a *Backtrace* buffer
showing the stack of function calls that led to the error.
--
Kevin Rodgers
- Re: How to change keys for uncomment (C-u C-c C-c)?, (continued)
- Re: How to change keys for uncomment (C-u C-c C-c)?, David Hansen, 2005/04/21
- Re: How to change keys for uncomment (C-u C-c C-c)?, JS, 2005/04/21
- Re: How to change keys for uncomment (C-u C-c C-c)?, David Hansen, 2005/04/21
- Re: How to change keys for uncomment (C-u C-c C-c)?, David Hansen, 2005/04/21
- Re: How to change keys for uncomment (C-u C-c C-c)?, JS, 2005/04/22
- Re: How to change keys for uncomment (C-u C-c C-c)?, Mathias Dahl, 2005/04/22
- Re: How to change keys for uncomment (C-u C-c C-c)?, JS, 2005/04/22
Re: How to change keys for uncomment (C-u C-c C-c)?, Kevin Rodgers, 2005/04/21
Message not available