Here is one way to do this:
(require 'cl)
(loop for x being the symbols
if (boundp x)
collect (symbol-name x))
loopis a common Lisp macro that has also been ported to Emacs Lisp. This is part of the package cl(part of the standard Emacs distribution) that you will need to use require.
Another possibility is possible:
(apropos "." t)
To perform the aproposinvocation will require much more time, but you will get more information about the symbols.
source
share