Allow overriding read--expression-try-read bindings
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 16 Aug 2020 20:24:59 +0000 (22:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Aug 2020 20:24:59 +0000 (22:24 +0200)
commit8c68a15f2ab484dabea4d4c2c760061d8ef440db
tree911c7f18926f28ac5cfe24f3b0138ff00701cb3d
parentbdda935a7d9519b71822270cf98328ae236b257d
Allow overriding read--expression-try-read bindings

* lisp/simple.el (read--expression): No longer bind
read--expression-try-read here.
* lisp/simple.el (read-expression-map): Bind
read--expression-try-read here (bug#42893).

This new specialized command was recently added in [1: 4a6dd13fa4].
It reestablishes the bindings every time `read--expression' is
invoked, which is wrong because it makes it impossible for users
to remove these bindings.

1: 4a6dd13fa42c87175ac72e1980f31cac56582db3
Change 'M-:' to not error out on incomplete expressions.
lisp/simple.el