GNU bug report logs -
#41021
[PATCH] New command apropos-function
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Sat, 2 May 2020 10:45:03 UTC
Severity: wishlist
Tags: patch
Fixed in version 28.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 41021 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 2 May 2020 13:18:16 -0700 (PDT)
> From: Drew Adams <drew.adams <at> 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"?
This bug report was last modified 5 years and 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.