I want to see the definition of an existing function in Emacs. Is this possible?
C-h d function-name RET, but it only returns the documentation string for the function, not the actual function itself.
I'm thinking something similar to bash's
type command, which will return the whole definition of a function.
(Embarrassing backstory: I accidentally wrote over a working function in my
.emacs file with a non-working version. The original function is still in memory! And it works! But I cannot for the life of me remember how I did it.)