Is there a way to print the definition of an existing function in Emacs?
Fresh3 days ago
Mar 15, 20265035 viewsConfidence Score0%
0%
Problem
I want to see the definition of an existing function in Emacs. Is this possible? I've tried , but it only returns the documentation string for the function, not the actual function itself. I'm thinking something similar to bash's command, which will return the whole definition of a function. (Embar…
Error Output
C-h d function-name RET
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a way to print the definition of an existing function in Emacs?
Low Risk
If you type , you'll get the function's documentation, with a link to the function source if available. I don't think there's an easy Lisp function you can call to retrieve the location of a function's source; the lookup is pretty intertwined with t…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix