Determine path to source code of current mode in Emacs 23 -
i'm trying out new python mode emacs 23, i'm not sure how tell if i'm using new mode (source code located @ ~/.elisp/python.el
) or bundled python.el
mode.
is there way find out current (or active) mode loaded from? c-h m not seem provide information, , don't know else look.
c-hf python-mode
ret tell file lives in, , can browse file following link.
you can use m-x find-function
ret python-mode
ret go there directly.
(i find handy have find-function
bound c-hc-f)
in general, use following:
m-: (find-function major-mode)
ret
Comments
Post a Comment