]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug#62106
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 11 Mar 2023 16:31:11 +0000 (17:31 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 11 Mar 2023 16:31:11 +0000 (17:31 +0100)
* 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

index 5fa0129e9d0e66a5a9e27499d400bc2ac6c26125..eb236c68e52183a5ebf9190e9e7acd1c79ceb6ee 100644 (file)
@@ -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