|
From: | Dmitry Gutov |
Subject: | Re: master d94ab49: Fix bootstrap after recent undo-redo change |
Date: | Thu, 30 Sep 2021 14:04:28 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 30.09.2021 07:59, Lars Ingebrigtsen wrote:
-(define-key global-map (kbd "C-?") 'undo-redo) +(define-key global-map "\C-?" 'undo-redo)
Sorry about the breakage.But "\C-?" and (kbd "C-?") are not the same: the former evaluates to a string containing the DEL char.
The latter returns something like [67108927], and that's how we avoided trying to bind 'undo-redo' to Backspace. This binding only works in GUI Emacs, of course.
[Prev in Thread] | Current Thread | [Next in Thread] |