Emacs:如何跳转到 .el 文件中的函数定义? [英] Emacs: how to jump to function definition in .el file?
本文介绍了Emacs:如何跳转到 .el 文件中的函数定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图编辑我的 init 文件.有没有什么可能的方法可以快速跳转到其他已经加载/需要的 .el 文件的函数定义?
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...
推荐答案
Mx find-function
RET (函数名)
返回
我发现 Ch Cf 为 find-function
提供了很好的键绑定(假设 Ch f 默认绑定到 描述函数
)
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)
这篇关于Emacs:如何跳转到 .el 文件中的函数定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文