]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix tramp bug with empty explicit path
authorDaniel Colascione <dancol@dancol.org>
Thu, 27 Feb 2014 05:11:50 +0000 (21:11 -0800)
committerDaniel Colascione <dancol@dancol.org>
Thu, 27 Feb 2014 05:11:50 +0000 (21:11 -0800)
lisp/ChangeLog
lisp/net/tramp-sh.el

index cee4d322d690625bfe9016cbd616b906cc127a3c..a74e982379985a1940225d4861757515b7018997 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-27  Daniel Colascione  <dancol@dancol.org>
+
+       * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
+       explicit tramp path is empty.
+
 2014-02-26  Glenn Morris  <rgm@gnu.org>
 
        * startup.el (command-line): Don't init the tty in daemon mode.
index 37e212970ce502ba8f622230482ba31ea26b7aa6..04109f9816c55e85c2442b3b787bb15172b0dab5 100644 (file)
@@ -4846,7 +4846,7 @@ Return ATTR."
       (when elt1
        (setcdr elt1
                (append
-                (tramp-compat-split-string default-remote-path ":")
+                (tramp-compat-split-string (or default-remote-path "") ":")
                 (cdr elt1)))
        (setq remote-path (delq 'tramp-default-remote-path remote-path)))
 
@@ -4854,7 +4854,7 @@ Return ATTR."
       (when elt2
        (setcdr elt2
                (append
-                (tramp-compat-split-string own-remote-path ":")
+                (tramp-compat-split-string (or own-remote-path "") ":")
                 (cdr elt2)))
        (setq remote-path (delq 'tramp-own-remote-path remote-path)))