summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-sshfs.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/tramp-sshfs.el')
-rw-r--r--lisp/net/tramp-sshfs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-sshfs.el b/lisp/net/tramp-sshfs.el
index 1bd4c5dc1c8..a1007863453 100644
--- a/lisp/net/tramp-sshfs.el
+++ b/lisp/net/tramp-sshfs.el
@@ -320,7 +320,7 @@ arguments to pass to the OPERATION."
;; The end.
(when (and (null noninteractive)
- (or (eq visit t) (null visit) (stringp visit)))
+ (or (eq visit t) (string-or-null-p visit)))
(tramp-message v 0 "Wrote %s" filename))
(run-hooks 'tramp-handle-write-region-hook))))