M-x < TAB > prints all the defined functions.
To check a variable is defined or not evaluating the following expression,
(boundp ‘variable-name) C-x C-e will print t if the variable-name is defined else nill.
How to print all the defined variables in emacs.
It’s unclear exactly what you want to do with a full list of symbols, since the way in which
M-xdisplays function names is somewhat specialized.Assuming that you want to programmatically obtain a list of all defined symbols, here’s how
auto-complete.eldoes it:Note that you can also enter
M-x describe-var RET, and then pressTABto get a sorted completion list of all symbols.