(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."
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)