4.3.5 Common Candidate Generators: FUNCTION-SYMBOL

The function symbol candidate generator can be used to search function symbols along with their documentation. When being created, you can provide it with the following options:

s Symbol Name Regex

A regular expression which the symbol’s name must match in order for it to be considered a candidate. For example, if you wanted to search org functions, you could use the regular expression “^org”.

-c Is Command?

When set to true, the candidate generator will only make documents for symbols that are defined as commands (i.e. with (interactive)).

-m Major Mode

Search for commands as if you were in the selected major mode and ran M-X (execute-extended-command-for-buffer) in a buffer of that mode.