[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41021: [PATCH] New command apropos-function
From: |
Eli Zaretskii |
Subject: |
bug#41021: [PATCH] New command apropos-function |
Date: |
Sun, 03 May 2020 17:19:17 +0300 |
> Date: Sat, 2 May 2020 13:18:16 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
>
> This is my `apropos-function':
>
> (defun apropos-function (pattern)
> "Show functions that match PATTERN.
> This includes functions that are not commands.
> PATTERN can be a word, a list of words (separated by spaces),
> or a regexp (using some regexp special characters). If it is a word,
> search for matches for that word as a substring. If it is a list of words,
> search for matches for any two (or more) of those words.
>
> When called from a Lisp program, a string PATTERN is used as a regexp,
> while a list of strings is used as a word list."
> (interactive "i")
> (if (interactive-p)
> (let ((apropos-do-all t))
> (call-interactively 'apropos-command))
> (apropos-command pattern t)))
Is this to save the user typing C-u before invoking "C-h a"?