Make tramp-ssh-controlmaster-options a defcustom. Do not merge with master.

Fixes: debbugs:20015

* net/tramp.el (tramp-ssh-controlmaster-options): Make it a
defcustom.
This commit is contained in:
Michael Albinus 2015-03-07 21:02:04 +01:00
parent 344c6adab9
commit 9869d6f612
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2015-03-07 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-ssh-controlmaster-options): Make it a
defcustom. (Bug#20015)
2015-03-07 Eli Zaretskii <eliz@gnu.org>
* dired.el (dired-delete-file): Doc fix. (Bug#20021)

View file

@ -307,7 +307,7 @@ started on the local host. You should specify a remote host
useful only in combination with `tramp-default-proxies-alist'.")
;;;###tramp-autoload
(defconst tramp-ssh-controlmaster-options
(defcustom tramp-ssh-controlmaster-options
(let ((result "")
(case-fold-search t))
(ignore-errors
@ -333,7 +333,10 @@ useful only in combination with `tramp-default-proxies-alist'.")
(setq result (concat result " -o ControlPersist=no")))))))
result)
"Call ssh to detect whether it supports the Control* arguments.
Return a string to be used in `tramp-methods'.")
Return a string to be used in `tramp-methods'."
:group 'tramp
:version "24.5"
:type 'string)
;;;###tramp-autoload
(defcustom tramp-use-ssh-controlmaster-options