For my Emacs configuration, I use a literate programming setup. My config files are in org-mode format, and my init.el
file consists mostly of org-babel
lines like (org-babel-load-file "~/emacs/startup.org")
.
I often use describe-key
to look up custom functions I have created in order to edit them. However, describe-key
gives me something like:
M-s-g runs the command gnugol, which is an interactive Lisp function in `startup.el'.
in which startup.el
is a link to that file. However in my case, startup.el is a file that's automatically generated (tangled?) every time I launch Emacs, so any edits I make to it will get overwritten.
How do I tell describe-key
to instead give me a link directly to startup.org
(or whatever config file contains the defun) so I can edit my actual config files?