]> git.eshelyaron.com Git - emacs.git/commit
Provide default for describe-keymap prompt
authorStefan Kangas <stefankangas@gmail.com>
Sat, 18 Jan 2020 23:17:42 +0000 (00:17 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 4 Feb 2020 01:04:20 +0000 (02:04 +0100)
commit330228d5c71981d3e2d39387d5222c3670c467c6
tree3945f976b7d292ad9a441d8033ac8a77756f7e67
parent557b790e0a3fcb2cd4196a3119da3e92647f8def
Provide default for describe-keymap prompt

* lisp/help-fns.el (describe-keymap): Provide a reasonable
default for prompt.  (Bug#30660)
(help-fns-find-keymap-name)
(help-fns--most-relevant-active-keymap): New functions.

* test/lisp/help-fns-tests.el
(help-fns-test-find-keymap-name): New test.
lisp/help-fns.el
test/lisp/help-fns-tests.el