aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2019-08-25 08:05:48 +0200
committerLars Ingebrigtsen2019-08-25 08:05:48 +0200
commit16cae184c13f03515f1883555f4e22a541b0cc32 (patch)
tree0c74cbd61810dbe8063fca814fb9cee4ce808748
parent2e6e250521f5076bfa1afb32c24d0075d34b4c53 (diff)
downloademacs-16cae184c13f03515f1883555f4e22a541b0cc32.tar.gz
emacs-16cae184c13f03515f1883555f4e22a541b0cc32.zip
The `gnus*-1' functions shouldn't be interactive
* lisp/gnus/gnus-start.el (gnus-no-server-1): This function shouldn't be interactive (bug#37022). (gnus-1): Ditto.
-rw-r--r--lisp/gnus/gnus-start.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 930d522c41b..e8775c66673 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -738,7 +738,6 @@ level. If ARG is nil, Gnus will be started at level 2
738and not a positive number, Gnus will prompt the user for the name 738and not a positive number, Gnus will prompt the user for the name
739of an NNTP server to use. As opposed to \\[gnus], this command 739of an NNTP server to use. As opposed to \\[gnus], this command
740will not connect to the local server." 740will not connect to the local server."
741 (interactive "P")
742 (let ((val (or arg (1- gnus-level-default-subscribed)))) 741 (let ((val (or arg (1- gnus-level-default-subscribed))))
743 (gnus val t slave) 742 (gnus val t slave)
744 (make-local-variable 'gnus-group-use-permanent-levels) 743 (make-local-variable 'gnus-group-use-permanent-levels)
@@ -749,8 +748,6 @@ will not connect to the local server."
749If ARG is non-nil and a positive number, Gnus will use that as the 748If ARG is non-nil and a positive number, Gnus will use that as the
750startup level. If ARG is non-nil and not a positive number, Gnus will 749startup level. If ARG is non-nil and not a positive number, Gnus will
751prompt the user for the name of an NNTP server to use." 750prompt the user for the name of an NNTP server to use."
752 (interactive "P")
753
754 (if (gnus-alive-p) 751 (if (gnus-alive-p)
755 (progn 752 (progn
756 (gnus-run-hooks 'gnus-before-resume-hook) 753 (gnus-run-hooks 'gnus-before-resume-hook)