In Emacs, how do I figure out which package is loading tramp?

前端 未结 4 1946
我寻月下人不归
我寻月下人不归 2021-02-09 12:11

I have a strange interaction with tramp and cygwin-mount (I think: Emacs: Tab completion of file name appends an extra i:\\cygwin). Because of this, I want to disable tramp. I\'

4条回答
  •  悲&欢浪女
    2021-02-09 12:32

    What a great question! If only because I was not aware of the function (eval-after-load file form) which will enable you to write code like the following and put it in your .emacs file:

    (eval-after-load "tramp"
      '(debug))
    

    Which will, in brute force form, vomit a backtrace in your window and reveal the offending library.

提交回复
热议问题