bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37538: [PATCH] Add docstring for `tags-complete-tags-table-file'.


From: Hong Xu
Subject: bug#37538: [PATCH] Add docstring for `tags-complete-tags-table-file'.
Date: Sat, 12 Oct 2019 11:46:25 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:
> How about the below:
>
>   (defun tags-complete-tags-table-file (string predicate what)
>     "Complete STRING from file names in the current tags table.
>   PREDICATE, if non-nil is a function to filter possible matches:
>   if it returns nil, the match is ignored.  If PREDICATE is nil,
>   every possible match is acceptable.
>   WHAT is a flag specifying the type of completion: t means `all-completions'
>   operation, any other value means `try-completions' operation.
>
>   This function serves as COLLECTION argument to `completing-read',
>   see the Info node `(elisp) Programmed Completion' for more detailed
>   description of the arguments."

Looks good to me. Thanks.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]