mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-13 01:06:36 -04:00
; Fix last change in tramp-sh.el
* lisp/net/tramp-sh.el (tramp-open-shell): Avoid cascaded call of command.
This commit is contained in:
parent
eea59005ad
commit
82ed61285e
|
|
@ -4447,7 +4447,7 @@ file exists and nonzero exit status otherwise."
|
|||
(when (stringp tramp-histfile-override)
|
||||
(when (and (string-match-p "~" tramp-histfile-override)
|
||||
(or (not (tramp-get-home-directory vec))
|
||||
(not (file-directory-p (tramp-get-home-directory vec)))))
|
||||
(not (tramp-send-command-and-check vec "(cd)"))))
|
||||
(tramp-user-error
|
||||
vec "No home directory, change `tramp-histfile-override'"))
|
||||
(when (file-name-directory tramp-histfile-override)
|
||||
|
|
|
|||
Loading…
Reference in a new issue