Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs: how to jump to function definition in .el file?

Tags:

emacs

I tried to edit my init file. Is there any possible way to quickly jump into function definition of other .el file that has already loaded/required ?

I remember doing this once, but don't remember how...

like image 464
Tg. Avatar asked Nov 19 '10 04:11

Tg.


1 Answers

M-x find-function RET (function name) RET

I find that C-h C-f makes a good keybinding for find-function (given that C-h f is bound by default to describe-function)

(global-set-key (kbd "C-h C-f") 'find-function)

like image 114
phils Avatar answered Sep 22 '22 08:09

phils