[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Have `define-key` return the keymap
From: |
Andreas Schwab |
Subject: |
Re: Have `define-key` return the keymap |
Date: |
Sat, 13 May 2017 10:32:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
On Mai 13 2017, Tianxiang Xiong <address@hidden> wrote:
> Would there be any issues with / objections to having `define-key` return
> the keymap it adds a key to? It currently returns `nil`, making it a
> statement (bleh!) rather than a function.
That would cause major inconvenience when define-key is evaluated with
M-: or ielm. A keymap is a big structure to print.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."