diff options
| author | Michael Albinus | 2023-03-11 17:31:11 +0100 |
|---|---|---|
| committer | Michael Albinus | 2023-03-11 17:31:11 +0100 |
| commit | c857775ca61c4e1fb0bc9d89d6d4cf1157a0b779 (patch) | |
| tree | e96b608a32bcaa0add095f0e4b4bcc468353fbdd | |
| parent | 0fedbfa6a9d8a73c4adfa8f144acd2808676ea3a (diff) | |
| download | emacs-c857775ca61c4e1fb0bc9d89d6d4cf1157a0b779.tar.gz emacs-c857775ca61c4e1fb0bc9d89d6d4cf1157a0b779.zip | |
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)
| -rw-r--r-- | lisp/files-x.el | 4 |
1 files 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 | |||
| 681 | (setq connection-local-criteria-alist | 681 | (setq connection-local-criteria-alist |
| 682 | (cons (cons criteria (delete-dups profiles)) | 682 | (cons (cons criteria (delete-dups profiles)) |
| 683 | connection-local-criteria-alist)))) | 683 | connection-local-criteria-alist)))) |
| 684 | (customize-set-variable | 684 | (customize-save-variable |
| 685 | 'connection-local-criteria-alist connection-local-criteria-alist)) | 685 | 'connection-local-criteria-alist connection-local-criteria-alist)) |
| 686 | 686 | ||
| 687 | (defsubst connection-local-get-profile-variables (profile) | 687 | (defsubst connection-local-get-profile-variables (profile) |
| @@ -702,7 +702,7 @@ variables are set in the server's process buffer according to the | |||
| 702 | VARIABLES list of the connection profile. The list is processed | 702 | VARIABLES list of the connection profile. The list is processed |
| 703 | in order." | 703 | in order." |
| 704 | (setf (alist-get profile connection-local-profile-alist) variables) | 704 | (setf (alist-get profile connection-local-profile-alist) variables) |
| 705 | (customize-set-variable | 705 | (customize-save-variable |
| 706 | 'connection-local-profile-alist connection-local-profile-alist)) | 706 | 'connection-local-profile-alist connection-local-profile-alist)) |
| 707 | 707 | ||
| 708 | ;;;###autoload | 708 | ;;;###autoload |