X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/419c122937bd0e21e49746edcfdcc3be7ac302f8..50a38814999fe981d4c2bd318b9375e42d599d87:/dot/gnus.el diff --git a/dot/gnus.el b/dot/gnus.el index 46b0a04..ebf83f2 100644 --- a/dot/gnus.el +++ b/dot/gnus.el @@ -96,7 +96,11 @@ ;;; Local configuration. ;; Fetching news from the local news server seems sensible. -(setq gnus-select-method `(nntp ,(mdw-config 'nntp-server))) +(setq gnus-select-method + (let ((server (mdw-config 'nntp-server))) + (if server + `(nntp ,server) + '(nnnil "")))) ;; Now load a local configuration file. (load "~/.gnus-local.el")