Emacs desktop doesn't remember TRAMP connections?

前端 未结 1 1980
心在旅途
心在旅途 2021-01-12 17:04

I use emacs to edit scripts and code files on several different servers. TRAMP is working very well. However, when I exit emacs, all my tramp connections go away. I tried

相关标签:
1条回答
  • 2021-01-12 17:43

    You can customize the variable desktop-buffers-not-to-save to do this:

    (setq desktop-buffers-not-to-save "^$")
    

    By default it is set to a regexp that matches TRAMP filenames. I would have expected setting it to nil would have worked, but, alas, it does not.

    0 讨论(0)
提交回复
热议问题