[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13993: 24.3.50; doc of `complete-with-action'
From: |
Lars Ingebrigtsen |
Subject: |
bug#13993: 24.3.50; doc of `complete-with-action' |
Date: |
Wed, 14 Aug 2019 22:44:41 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
> The doc of `complete-with-action' should do more, however. It should
> say what it does:
>
> If TABLE is a function then TABLE does all of the completing. It is
> passed arguments STRING, PRED, and ACTION. (and refer to (or copy)
> existing doc about this).
>
> Else the behavior depends on the value of ACTION:
>
> If `metadata' or a cons with car `boundaries' then return nil.
> If nil, return (try-completion STRING TABLE PRED).
> If t, return (all-completions STRING TABLE PRED).
> Else return (test-completion STRING TABLE PRED).
I've now altered the doc string along the lines of what you suggest, but
less verbose.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#13993: 24.3.50; doc of `complete-with-action',
Lars Ingebrigtsen <=