mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 15:11:30 -08:00
Fix tramp bug with empty explicit path
This commit is contained in:
parent
675cab2c1b
commit
eff3168abc
2 changed files with 7 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue