]> code.delx.au - gnu-emacs/commitdiff
Make tramp-ssh-controlmaster-options a defcustom. Do not merge with master.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 7 Mar 2015 19:57:32 +0000 (20:57 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 7 Mar 2015 19:57:32 +0000 (20:57 +0100)
Fixes: debbugs:20015
* net/tramp.el (tramp-ssh-controlmaster-options): Make it a defcustom.

lisp/ChangeLog
lisp/net/tramp.el

index 0b277c7c518d950622862b805bc87e9ecb00f2d4..9556dfdbc4284f9db744139727d0c031046e3caf 100644 (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  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * battery.el (battery-echo-area-format): Simplify default.
index 953525f37e4e10512ea302ef96a725538b3633af..7661a4ca19cb86d3730603e9c0d13c7e62714577 100644 (file)
@@ -308,7 +308,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
@@ -334,7 +334,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