From fbf6b7d2f0fb73379995e869d56df036e3e8b343 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 6 Apr 2022 09:51:09 +0200 Subject: [PATCH] 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 089093a4208..6be06d0e738 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 -- 2.39.5