]> git.eshelyaron.com Git - emacs.git/commit
lisp/ido.el: Respect completion-auto-help setting
authorRyan C. Thompson <rct@thompsonclan.org>
Wed, 20 May 2020 23:21:12 +0000 (02:21 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 20 May 2020 23:22:26 +0000 (02:22 +0300)
commitcdec3139b9125d2360223fcd1fb0fe1a52595cb7
tree1f67864fe535832ee88f36b2bda1e7e4ee10e117
parent0bfee4b18be9455e33899178fe4ccf2743ea179b
lisp/ido.el: Respect completion-auto-help setting

This commit makes ido completion respect the user's setting for
`completion-auto-help' by default.  It does this by defining a wrapper
function `ido-completion-auto-help', which calls `ido-completion-help'
only when `completion-auto-help' is non-nil.

* lisp/ido.el (ido-completion-auto-help): New function.
(ido-cannot-complete-command):
Use it as the new default (bug#41340).
lisp/ido.el