[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elisp code to list interactive functions
From: |
Andreas Schwab |
Subject: |
Re: elisp code to list interactive functions |
Date: |
Thu, 04 Nov 2021 18:44:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
On Nov 04 2021, Lars Ingebrigtsen wrote:
> Philipp Stephani <p.stephani2@gmail.com> writes:
>
>> That's using an internal function, which should not be used outside
>> help.el and can go away at any time. But the following should also
>> work:
>> (cl-loop for symbol being the symbols
>> when (commandp symbol)
>> collect symbol)
>
> Since we're code golfing:
>
> (seq-filter #'commandp obarray)
I don't think mapc does something useful with obarrays.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- elisp code to list interactive functions, Alexander Asteroth, 2021/11/04
- Re: elisp code to list interactive functions, Po Lu, 2021/11/04
- Re: elisp code to list interactive functions, Robert Pluim, 2021/11/04
- Re: elisp code to list interactive functions, Alexander Asteroth, 2021/11/04
- Re: elisp code to list interactive functions, Philipp Stephani, 2021/11/04
- Re: elisp code to list interactive functions, Alexander Asteroth, 2021/11/04
- Re: elisp code to list interactive functions, Lars Ingebrigtsen, 2021/11/04
- Re: elisp code to list interactive functions, Robert Pluim, 2021/11/04
- Re: elisp code to list interactive functions,
Andreas Schwab <=
- Re: elisp code to list interactive functions, Stefan Monnier, 2021/11/04
- Re: elisp code to list interactive functions, Lars Ingebrigtsen, 2021/11/04
- Re: elisp code to list interactive functions, Stefan Monnier, 2021/11/04
- Re: elisp code to list interactive functions, Lars Ingebrigtsen, 2021/11/04
- Re: elisp code to list interactive functions, Po Lu, 2021/11/04
Re: elisp code to list interactive functions, Stefan Monnier, 2021/11/04