diff options
| author | Michael Albinus | 2015-03-07 20:57:32 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-03-07 20:57:32 +0100 |
| commit | 5ab767b8dcea50b4d02c3910d19c223a5402f99d (patch) | |
| tree | 3cbdace83c91ae3a7cf040f373c3a8db1004c17e | |
| parent | 35e2b6ab4d28547ec079de18cf1cf65623e6909a (diff) | |
| download | emacs-5ab767b8dcea50b4d02c3910d19c223a5402f99d.tar.gz emacs-5ab767b8dcea50b4d02c3910d19c223a5402f99d.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0b277c7c518..9556dfdbc42 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-03-07 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-ssh-controlmaster-options): Make it a | ||
| 4 | defcustom. (Bug#20015) | ||
| 5 | |||
| 1 | 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * battery.el (battery-echo-area-format): Simplify default. | 8 | * battery.el (battery-echo-area-format): Simplify default. |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 953525f37e4..7661a4ca19c 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -308,7 +308,7 @@ started on the local host. You should specify a remote host | |||
| 308 | useful only in combination with `tramp-default-proxies-alist'.") | 308 | useful only in combination with `tramp-default-proxies-alist'.") |
| 309 | 309 | ||
| 310 | ;;;###tramp-autoload | 310 | ;;;###tramp-autoload |
| 311 | (defconst tramp-ssh-controlmaster-options | 311 | (defcustom tramp-ssh-controlmaster-options |
| 312 | (let ((result "") | 312 | (let ((result "") |
| 313 | (case-fold-search t)) | 313 | (case-fold-search t)) |
| 314 | (ignore-errors | 314 | (ignore-errors |
| @@ -334,7 +334,10 @@ useful only in combination with `tramp-default-proxies-alist'.") | |||
| 334 | (setq result (concat result " -o ControlPersist=no"))))))) | 334 | (setq result (concat result " -o ControlPersist=no"))))))) |
| 335 | result) | 335 | result) |
| 336 | "Call ssh to detect whether it supports the Control* arguments. | 336 | "Call ssh to detect whether it supports the Control* arguments. |
| 337 | Return a string to be used in `tramp-methods'.") | 337 | Return a string to be used in `tramp-methods'." |
| 338 | :group 'tramp | ||
| 339 | :version "24.5" | ||
| 340 | :type 'string) | ||
| 338 | 341 | ||
| 339 | ;;;###tramp-autoload | 342 | ;;;###tramp-autoload |
| 340 | (defcustom tramp-use-ssh-controlmaster-options | 343 | (defcustom tramp-use-ssh-controlmaster-options |