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 a9225db434e..31720a605ec 100644
--- a/lisp/net/tramp-sshfs.el
+++ b/lisp/net/tramp-sshfs.el
@@ -215,7 +215,7 @@ arguments to pass to the OPERATION."
(progn
;; Read the expression.
(goto-char (point-min))
- (buffer-substring (point) (point-at-eol)))
+ (buffer-substring (point) (line-end-position)))
":" 'omit))))
;; The equivalent to `exec-directory'.
`(,(tramp-file-local-name (expand-file-name default-directory)))))