That's true...a valid concern.

On Sat, May 13, 2017 at 1:32 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
On Mai 13 2017, Tianxiang Xiong <tianxiang.xiong@gmail.com> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."