diff options
| author | Keegan Carruthers-Smith <keegan.csmith@gmail.com> | 2020-04-13 21:58:19 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-04-14 12:29:47 -0300 |
| commit | e083987338ab058fff826242c0a7b533f5a453ba (patch) | |
| tree | e26469c849a2a256793de1773b6ed05a6588caab /lib/database.cc | |
| parent | f28e0a93379754456cf02830efcea499c6c2fc6f (diff) | |
emacs: use def instead of initial-input for notmuch-show-browse-urls
This is the non-deprecated way to use completing-read. Additionally
the old use was broken when using ivy for completing-read. For user's
using completing-read-default they won't see the default URL now, but
if they hit enter it will be visited. Alternatively they can select
it with M-n.
From the completing-read documentation for initial-input:
This feature is deprecated--it is best to pass nil for INITIAL-INPUT
and supply the default value DEF instead. The user can yank the
default value into the minibuffer easily using M-n.
Additionally collection is now all urls, rather than all but the
first. I'm not sure why "(cdr urls)" was previously done.
Diffstat (limited to 'lib/database.cc')
0 files changed, 0 insertions, 0 deletions
