summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-sh.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2019-10-11 13:50:34 +0200
committerMichael Albinus <michael.albinus@gmx.de>2019-10-11 13:50:34 +0200
commitb259bf63c77a01f3035813b3485fbd9ad7ae02a0 (patch)
tree3db31d97dd4043464f73dcda7d1e65848fe10f1e /lisp/net/tramp-sh.el
parent552c20ce39cd513cd6d0c847a1d291554143ba9a (diff)
downloademacs-b259bf63c77a01f3035813b3485fbd9ad7ae02a0.tar.gz
emacs-b259bf63c77a01f3035813b3485fbd9ad7ae02a0.tar.bz2
emacs-b259bf63c77a01f3035813b3485fbd9ad7ae02a0.zip
Cleanup Tramp
* lisp/net/tramp-archive.el (tramp-archive-gvfs-host): Fix docstring. * lisp/net/tramp.el: Remove :group from all defcustoms. (tramp-encoding-shell): Fix docstring. (tramp-error): Remove text properties from error message.
Diffstat (limited to 'lisp/net/tramp-sh.el')
-rw-r--r--lisp/net/tramp-sh.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 2e57f7e1c71..be6d29e768c 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -4662,13 +4662,11 @@ Goes through the list `tramp-inline-compress-commands'."
;; Host.
(string-match-p
(or (eval (nth 0 item)) "")
- (or (tramp-file-name-host-port (car target-alist))
- ""))
+ (or (tramp-file-name-host-port (car target-alist)) ""))
;; User.
(string-match-p
(or (eval (nth 1 item)) "")
- (or (tramp-file-name-user-domain (car target-alist))
- "")))
+ (or (tramp-file-name-user-domain (car target-alist)) "")))
(if (null proxy)
;; No more hops needed.
(setq choices nil)