--- Begin Message ---
Subject: |
25.0.50; wrong binding for 'comment-line |
Date: |
Tue, 10 Feb 2015 01:09:33 -0500 |
Hi,
(define-key ctl-x-map "C-;" 'comment-line)
is missing the backslash, and should be
(define-key ctl-x-map "\C-;" 'comment-line)
--- End Message ---
--- Begin Message ---
Subject: |
Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '. |
Date: |
Sun, 22 Feb 2015 22:04:49 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Artur Malabarba wrote:
The actual binding was supposed to be C-x C-;. The problem with bootstrap
surprises me, but I guess it must be something in the order that files are
loaded.
It's because if you try to evaluate the string "\C-;", Emacs throws (error
"Invalid modifier in string"). I installed the attached patch to use the
keybinding that you wanted. This should fix the bug, so I'm closing the bug report.
0001-Fix-the-desired-binding-for-comment-line.patch
Description: Text Data
--- End Message ---