mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
Fix auto-save-file-name problem in Tramp on MS Windows. Do not merge
* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name): Fix a problem when running on MS Windows.
This commit is contained in:
parent
5569e64444
commit
3993dc500d
@ -4102,7 +4102,11 @@ this file, if that variable is non-nil."
|
||||
(file-exists-p tramp-auto-save-directory))
|
||||
(make-directory tramp-auto-save-directory t))
|
||||
|
||||
(let ((system-type 'not-windows)
|
||||
(let ((system-type
|
||||
(if (and (stringp tramp-auto-save-directory)
|
||||
(file-remote-p tramp-auto-save-directory))
|
||||
'not-windows
|
||||
system-type))
|
||||
(auto-save-file-name-transforms
|
||||
(if (and (null tramp-auto-save-directory)
|
||||
(boundp 'auto-save-file-name-transforms))
|
||||
|
Loading…
Reference in New Issue
Block a user