emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no


From: Nicolas Richard
Subject: Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
Date: Mon, 23 Feb 2015 13:13:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hello,

Artur Malabarba <address@hidden> writes:
> 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.

"\C-a" is a string with one character. It is just a fancy way of doing
(string 1). But \C-\; doesn't exist as a character.

As suggested in (info "(elisp) Changing Key Bindings"), we could use:
(define-key ctl-x-map [(control ?\;)] 'comment-line)
Or also the (IMHO) uglier version:
(define-key ctl-x-map [?\C-\;] 'comment-line)

-- 
Nicolas Richard



reply via email to

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