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

后端 未结 4 1908
星月不相逢
星月不相逢 2020-12-13 08:36

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 doin

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 08:54

    As of emacs-25.1, there's a new generic function xref-find-definitions. The xref built-in package provides a generic framework for navigating definitions in code. Probably, it'd take some time for every mode to adjust custom functions for this framework, but, at the very least, emacs-lisp-mode already ported.

提交回复
热议问题