fix(emacs): fix TRAMP loading

This commit is contained in:
Pavel Korytov 2021-06-18 18:14:30 +03:00
parent a37ab00e9b
commit cd54e345e5
2 changed files with 8 additions and 6 deletions

View file

@ -844,9 +844,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
vc-ignore-dir-regexp
tramp-file-name-regexp))
(setq tramp-remote-path
(append tramp-remote-path
'(tramp-own-remote-path)))
(with-eval-after-load 'tramp
(setq tramp-remote-path
(append tramp-remote-path
'(tramp-own-remote-path))))
(defun my/dired-bookmark-open ()
(interactive)

View file

@ -1568,9 +1568,10 @@ Some other optimization settings:
Also, here is a hack to make TRAMP find =ls= on Guix:
#+begin_src emacs-lisp
(setq tramp-remote-path
(append tramp-remote-path
'(tramp-own-remote-path)))
(with-eval-after-load 'tramp
(setq tramp-remote-path
(append tramp-remote-path
'(tramp-own-remote-path))))
#+end_src
** Bookmarks
A simple bookmark list for Dired, mainly to use with TRAMP. I may look into a proper bookmarking system later.