How do I get a list of Emacs lisp non-interactive functions?

后端 未结 6 1929
天涯浪人
天涯浪人 2021-02-02 16:17

How do I get a complete list of non-interactive functions that I can use in Emacs Lisp?

The interactive ones are easy enough to find in the help system, but I want a com

6条回答
  •  余生分开走
    2021-02-02 16:55

    You could check the contents of obarray, though that contains all symbols, rather than "all functions".

    Alternatively, the following may do the trick (will pull in parts of the CL compatability package):

    (reduce (lambda (so-far next) (if (fboundp next) (cons next so-far) so-far)) obarray :initial-value nil)

提交回复
热议问题