diff options
Diffstat (limited to 'lisp/files-x.el')
-rw-r--r-- | lisp/files-x.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/files-x.el b/lisp/files-x.el index eb236c68e52..be27aedf2e2 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el @@ -681,8 +681,8 @@ variables for a connection profile are defined using (setq connection-local-criteria-alist (cons (cons criteria (delete-dups profiles)) connection-local-criteria-alist)))) - (customize-save-variable - 'connection-local-criteria-alist connection-local-criteria-alist)) + (custom-set-variables + `(connection-local-criteria-alist ',connection-local-criteria-alist))) (defsubst connection-local-get-profile-variables (profile) "Return the connection-local variable list for PROFILE." @@ -702,8 +702,8 @@ 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-save-variable - 'connection-local-profile-alist connection-local-profile-alist)) + (custom-set-variables + `(connection-local-profile-alist ',connection-local-profile-alist))) ;;;###autoload (defun connection-local-update-profile-variables (profile variables) |