[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4a5ff4d9c6a: Invert variable alias declaration in Tramp
From: |
Michael Albinus |
Subject: |
master 4a5ff4d9c6a: Invert variable alias declaration in Tramp |
Date: |
Tue, 21 Mar 2023 16:24:33 -0400 (EDT) |
branch: master
commit 4a5ff4d9c6a7d28f18cee7276a3c6febbee0c93e
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Invert variable alias declaration in Tramp
* lisp/net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
Invert alias declaration. (Bug#62295, Bug#62329)
---
lisp/net/tramp-sh.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 24e90447b24..401cec0e28d 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -106,6 +106,9 @@ detected as prompt when being sent on echoing hosts,
therefore.")
(defconst tramp-end-of-heredoc (md5 tramp-end-of-output)
"String used to recognize end of heredoc strings.")
+(define-obsolete-variable-alias
+ 'tramp-use-ssh-controlmaster-options 'tramp-use-connection-share "30.1")
+
(defcustom tramp-use-connection-share (not (eq system-type 'windows-nt))
"Whether to use connection share in ssh or PuTTY.
Set it to t, if you want Tramp to apply respective options. These
@@ -122,11 +125,6 @@ Set it to `suppress' if you want to disable settings in
your
;; Check with (safe-local-variable-p 'tramp-use-connection-share 'suppress)
:safe (lambda (val) (and (memq val '(t nil suppress)) t)))
-(defvaralias 'tramp-use-connection-share 'tramp-use-ssh-controlmaster-options)
-(make-obsolete-variable
- 'tramp-use-ssh-controlmaster-options
- "Use `tramp-use-connection-share' instead" "30.1")
-
(defvar tramp-ssh-controlmaster-options nil
"Which ssh Control* arguments to use.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4a5ff4d9c6a: Invert variable alias declaration in Tramp,
Michael Albinus <=