diff options
| author | Alex Branham | 2019-08-25 08:05:48 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-25 08:05:48 +0200 |
| commit | 16cae184c13f03515f1883555f4e22a541b0cc32 (patch) | |
| tree | 0c74cbd61810dbe8063fca814fb9cee4ce808748 | |
| parent | 2e6e250521f5076bfa1afb32c24d0075d34b4c53 (diff) | |
| download | emacs-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.el | 3 |
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 | |||
| 738 | and not a positive number, Gnus will prompt the user for the name | 738 | and not a positive number, Gnus will prompt the user for the name |
| 739 | of an NNTP server to use. As opposed to \\[gnus], this command | 739 | of an NNTP server to use. As opposed to \\[gnus], this command |
| 740 | will not connect to the local server." | 740 | will 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." | |||
| 749 | If ARG is non-nil and a positive number, Gnus will use that as the | 748 | If ARG is non-nil and a positive number, Gnus will use that as the |
| 750 | startup level. If ARG is non-nil and not a positive number, Gnus will | 749 | startup level. If ARG is non-nil and not a positive number, Gnus will |
| 751 | prompt the user for the name of an NNTP server to use." | 750 | prompt 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) |