emacs-devel
[Top][All Lists]
Advanced

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

Re: Round-tripping key definitions


From: Lars Ingebrigtsen
Subject: Re: Round-tripping key definitions
Date: Mon, 15 Nov 2021 06:48:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> No, the `function-key-map` entries are only used if there's no binding
> for the key.

So...

(local-set-key [TAB]
               (lambda ()
                 (interactive)
                 (message "Keys: %S" real-this-command)))

(define-key function-key-map [?\C-i] [TAB])

After allowing binding [TAB], hitting `C-i' does not take me to that
[TAB].

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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