emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fbf6b7d2f0: Revert unneeded change in tramp-integration.el


From: Michael Albinus
Subject: master fbf6b7d2f0: Revert unneeded change in tramp-integration.el
Date: Wed, 6 Apr 2022 03:51:19 -0400 (EDT)

branch: master
commit fbf6b7d2f0fb73379995e869d56df036e3e8b343
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Revert unneeded change in tramp-integration.el
    
    * lisp/net/tramp-integration.el:
    Apply `connection-local-set-profiles' w/o retrieving old values.
---
 lisp/net/tramp-integration.el | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/lisp/net/tramp-integration.el b/lisp/net/tramp-integration.el
index 089093a420..6be06d0e73 100644
--- a/lisp/net/tramp-integration.el
+++ b/lisp/net/tramp-integration.el
@@ -286,11 +286,9 @@ NAME must be equal to `tramp-current-connection'."
  'tramp-connection-local-default-system-profile
  tramp-connection-local-default-system-variables)
 
-(apply
- #'connection-local-set-profiles
+(connection-local-set-profiles
  '(:application tramp)
- (cons 'tramp-connection-local-default-system-profile
-       (connection-local-get-profiles '(:application tramp))))
+ 'tramp-connection-local-default-system-profile)
 
 (defconst tramp-connection-local-default-shell-variables
   '((shell-file-name . "/bin/sh")
@@ -302,11 +300,9 @@ NAME must be equal to `tramp-current-connection'."
  tramp-connection-local-default-shell-variables)
 
 (with-eval-after-load 'shell
-  (apply
-   #'connection-local-set-profiles
+  (connection-local-set-profiles
    '(:application tramp)
-   (cons 'tramp-connection-local-default-shell-profile
-         (connection-local-get-profiles '(:application tramp)))))
+   'tramp-connection-local-default-shell-profile))
 
 ;; Tested with FreeBSD 12.2.
 (defconst tramp-bsd-process-attributes-ps-args



reply via email to

[Prev in Thread] Current Thread [Next in Thread]