emacs-devel
[Top][All Lists]
Advanced

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

Re: Have `define-key` return the keymap


From: Stefan Monnier
Subject: Re: Have `define-key` return the keymap
Date: Sat, 13 May 2017 11:13:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> I'm probably missing something, but (to me, so far) all of this
> has the scent of a solution looking for a problem to solve.

Indeed.  If we're concerned about the redundancy in the various
define-key calls for a keymap, then I'd rather we provide something like

    (defvar toto-mode-map (fumble-map map '(("a" foo) ("B" bar))))


-- Stefan




reply via email to

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