How to find the location, where an an Emacs Lisp function is bound to a key?

[亡魂溺海] 提交于 2019-12-04 17:23:15

I don't know if that's possible in general, but my guess would be that Emacs doesn't remember where the code was that defined a given key.

C-hb will show the current bindings, from which you can establish which keymap you're interested in, and work from there. For most major or minor mode maps, it won't be too difficult to find the code.

Your specific example is a global binding which Emacs configures in bindings.el.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!