[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c9e13048bb9: Fix scoping error in Tramp
From: |
Michael Albinus |
Subject: |
master c9e13048bb9: Fix scoping error in Tramp |
Date: |
Sun, 9 Apr 2023 10:18:56 -0400 (EDT) |
branch: master
commit c9e13048bb9b1b5fb156fb128b32030ae2f1003b
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Fix scoping error in Tramp
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-insert-file-contents):
Move result out of unwindform.
---
lisp/net/tramp-sshfs.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/net/tramp-sshfs.el b/lisp/net/tramp-sshfs.el
index 6b788c00ba6..a4f6246ec23 100644
--- a/lisp/net/tramp-sshfs.el
+++ b/lisp/net/tramp-sshfs.el
@@ -244,8 +244,8 @@ arguments to pass to the OPERATION."
(setq result
(insert-file-contents
(tramp-fuse-local-file-name filename) visit beg end replace))
- (when visit (setq buffer-file-name filename))
- (cons filename (cdr result)))))
+ (when visit (setq buffer-file-name filename)))
+ (cons filename (cdr result))))
(defun tramp-sshfs-handle-process-file
(program &optional infile destination display &rest args)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c9e13048bb9: Fix scoping error in Tramp,
Michael Albinus <=