From c857775ca61c4e1fb0bc9d89d6d4cf1157a0b779 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 11 Mar 2023 17:31:11 +0100 Subject: [PATCH] Fix bug#62106 * lisp/files-x.el (connection-local-set-profiles) (connection-local-set-profile-variables): Use `customize-save-variable' instead of `customize-set-variable'. (Bug#62106) --- lisp/files-x.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/files-x.el b/lisp/files-x.el index 5fa0129e9d0..eb236c68e52 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el @@ -681,7 +681,7 @@ variables for a connection profile are defined using (setq connection-local-criteria-alist (cons (cons criteria (delete-dups profiles)) connection-local-criteria-alist)))) - (customize-set-variable + (customize-save-variable 'connection-local-criteria-alist connection-local-criteria-alist)) (defsubst connection-local-get-profile-variables (profile) @@ -702,7 +702,7 @@ variables are set in the server's process buffer according to the VARIABLES list of the connection profile. The list is processed in order." (setf (alist-get profile connection-local-profile-alist) variables) - (customize-set-variable + (customize-save-variable 'connection-local-profile-alist connection-local-profile-alist)) ;;;###autoload -- 2.39.2