Commit 55c5e263 authored by Michael Albinus's avatar Michael Albinus
Browse files

Fix nasty cut'n'waste error in Tramp

* lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
Remove weird code, resulting from cut'n'waste.
parent 2f947eca
Pipeline #495 passed with stage
in 44 minutes and 6 seconds
......@@ -299,8 +299,7 @@ absolute file names."
(with-parsed-tramp-file-name newname v2
v2 (file-name-directory v2-localname))
(tramp-flush-file-properties v2 v2-localname)
(when (tramp-rclone-file-name-p newname))))))))
(tramp-flush-file-properties v2 v2-localname)))))))
(defun tramp-sudoedit-handle-copy-file
(filename newname &optional ok-if-already-exists keep-date
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment