]> git.eshelyaron.com Git - emacs.git/commit
* lisp/help.el: Rework describe-key's handling of up and double clicks
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Jan 2018 16:57:40 +0000 (11:57 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Jan 2018 16:58:12 +0000 (11:58 -0500)
commit9d4af3e6bdfac374f6c9591566c010e6a1514751
tree0a365502cc6f6a12488592ee0ccfa49a9a60222b
parentfd6972ac0720bde830728254b8d791c81e01d63f
* lisp/help.el: Rework describe-key's handling of up and double clicks

Use lexical-binding.
(help--binding-undefined-p): New function, extracted from help--analyze-key.
(help--analyze-key): Use it.
(help--filter-info-list): New function.
(describe-key-briefly): Change calling convention.
Handle a list of key sequences now.
(help--binding-locus): Remove unused var 'found'.
(help--read-key-sequence): Rename from help-read-key-sequence.
Almost complete rewrite, with a different return value.
(help-downify-mouse-event-type): Remove.
(describe-key): Change calling convention.
Handle a list of key sequences now.
lisp/help.el