Resort to using the default location for TRAMP history override

Directories like `~/.emacs.d/private` may not exist on remote machines.
This commit is contained in:
Daniel Borchmann 2025-03-16 16:55:02 +01:00
parent b176cb1748
commit b59c852c53
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -2150,7 +2150,7 @@ Note that this workaround is incomplete, as explained in this comment."
(use-package tramp
:init (setq tramp-default-method (if on-windows "pscp" "scp")
tramp-completion-use-auth-sources nil
tramp-histfile-override (expand-file-name "tramp-history" emacs-d-userdata)))
tramp-histfile-override "~/.tramp_history"))
(use-package trashed
;; A simple dired-like interface to the system trash bin