summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-srvr.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-11-13 11:28:05 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2017-11-13 11:28:05 -0500
commita7b7b85567f766ff510a5eaaaf32dbbbec15efd0 (patch)
tree886606fc27c18c3a359348878a27c9df5a9d7814 /lisp/gnus/gnus-srvr.el
parent000e729071d6fb75eabe2bde8a5912440f1f3c44 (diff)
downloademacs-a7b7b85567f766ff510a5eaaaf32dbbbec15efd0.tar.gz
emacs-a7b7b85567f766ff510a5eaaaf32dbbbec15efd0.tar.bz2
emacs-a7b7b85567f766ff510a5eaaaf32dbbbec15efd0.zip
* lisp/gnus/gnus-srvr.el: Avoid custom-set-variables
* lisp/gnus/gnus-srvr.el (gnus-server-toggle-cloud-method-server): Prefer customize-set-variable.
Diffstat (limited to 'lisp/gnus/gnus-srvr.el')
-rw-r--r--lisp/gnus/gnus-srvr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el
index 8a91973e388..23d8b02efde 100644
--- a/lisp/gnus/gnus-srvr.el
+++ b/lisp/gnus/gnus-srvr.el
@@ -1159,7 +1159,7 @@ Requesting compaction of %s... (this may take a long time)"
(error "The server under point can't host the Emacs Cloud"))
(when (not (string-equal gnus-cloud-method server))
- (custom-set-variables '(gnus-cloud-method server))
+ (customize-set-variable 'gnus-cloud-method server)
;; Note we can't use `Custom-save' here.
(when (gnus-yes-or-no-p
(format "The new cloud host server is %S now. Save it? " server))