]> git.eshelyaron.com Git - emacs.git/commitdiff
The `gnus*-1' functions shouldn't be interactive
authorAlex Branham <alex.branham@gmail.com>
Sun, 25 Aug 2019 06:05:48 +0000 (08:05 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 25 Aug 2019 06:05:48 +0000 (08:05 +0200)
* lisp/gnus/gnus-start.el (gnus-no-server-1): This function
shouldn't be interactive (bug#37022).
(gnus-1): Ditto.

lisp/gnus/gnus-start.el

index 930d522c41b83ccd60b516864df9204395adf2a5..e8775c6667398374b30bfbe0dc8fb9670217755e 100644 (file)
@@ -738,7 +738,6 @@ level.  If ARG is nil, Gnus will be started at level 2
 and not a positive number, Gnus will prompt the user for the name
 of an NNTP server to use.  As opposed to \\[gnus], this command
 will not connect to the local server."
-  (interactive "P")
   (let ((val (or arg (1- gnus-level-default-subscribed))))
     (gnus val t slave)
     (make-local-variable 'gnus-group-use-permanent-levels)
@@ -749,8 +748,6 @@ will not connect to the local server."
 If ARG is non-nil and a positive number, Gnus will use that as the
 startup level.  If ARG is non-nil and not a positive number, Gnus will
 prompt the user for the name of an NNTP server to use."
-  (interactive "P")
-
   (if (gnus-alive-p)
       (progn
        (gnus-run-hooks 'gnus-before-resume-hook)