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

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

Re: Elisp command calling (describe-function) interactively


From: Jean Louis
Subject: Re: Elisp command calling (describe-function) interactively
Date: Mon, 24 Oct 2022 16:24:11 +0300
User-agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02)

* Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> 
[2022-10-24 09:38]:
> Started with using completing-read for inputting the function name, but does 
> not
> 
> look that the use of completing-read is appropriate, because completing-read 
> only
> 
> accepts completion from a predefined list.

(completing-read PROMPT COLLECTION &optional PREDICATE REQUIRE-MATCH
INITIAL-INPUT HIST DEF INHERIT-INPUT-METHOD)

Read a string in the minibuffer, with completion.
PROMPT is a string to prompt with; normally it ends in a colon and a space.
COLLECTION can be a list of strings, an alist, an obarray or a hash table.
COLLECTION can also be a function to do the completion itself.

Function need not be predefined, function may run with some
dynamically generated data.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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