diff options
| author | Lars Ingebrigtsen | 2014-02-05 04:35:29 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2014-02-05 04:35:29 +0000 |
| commit | 3660c612b3b0f45fe8bf80d1ed52d50c41f48713 (patch) | |
| tree | 1073415737a97fbdcaf0614a309ec6ff782881b1 /lisp | |
| parent | dd27d13b5083d0a09d1b70cbde2cdecf8d98cf4d (diff) | |
| download | emacs-3660c612b3b0f45fe8bf80d1ed52d50c41f48713.tar.gz emacs-3660c612b3b0f45fe8bf80d1ed52d50c41f48713.zip | |
lisp/gnus/gnus-int.el (gnus-request-accept-article): Doc fix
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-int.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c0b009773c8..560d03439c1 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-05 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus-int.el (gnus-request-accept-article): Doc fix. | ||
| 4 | |||
| 1 | 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org> | 5 | 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 6 | ||
| 3 | * nnir.el (nnir-request-update-mark): Don't try to update the source | 7 | * nnir.el (nnir-request-update-mark): Don't try to update the source |
diff --git a/lisp/gnus/gnus-int.el b/lisp/gnus/gnus-int.el index 34bf78a16b8..edf61197638 100644 --- a/lisp/gnus/gnus-int.el +++ b/lisp/gnus/gnus-int.el | |||
| @@ -754,7 +754,6 @@ If GROUP is nil, all groups on GNUS-COMMAND-METHOD are scanned." | |||
| 754 | 754 | ||
| 755 | (defun gnus-request-accept-article (group &optional gnus-command-method last | 755 | (defun gnus-request-accept-article (group &optional gnus-command-method last |
| 756 | no-encode) | 756 | no-encode) |
| 757 | ;; Make sure there's a newline at the end of the article. | ||
| 758 | (when (stringp gnus-command-method) | 757 | (when (stringp gnus-command-method) |
| 759 | (setq gnus-command-method (gnus-server-to-method gnus-command-method))) | 758 | (setq gnus-command-method (gnus-server-to-method gnus-command-method))) |
| 760 | (when (and (not gnus-command-method) | 759 | (when (and (not gnus-command-method) |
| @@ -762,6 +761,7 @@ If GROUP is nil, all groups on GNUS-COMMAND-METHOD are scanned." | |||
| 762 | (setq gnus-command-method (or (gnus-find-method-for-group group) | 761 | (setq gnus-command-method (or (gnus-find-method-for-group group) |
| 763 | (gnus-group-name-to-method group)))) | 762 | (gnus-group-name-to-method group)))) |
| 764 | (goto-char (point-max)) | 763 | (goto-char (point-max)) |
| 764 | ;; Make sure there's a newline at the end of the article. | ||
| 765 | (unless (bolp) | 765 | (unless (bolp) |
| 766 | (insert "\n")) | 766 | (insert "\n")) |
| 767 | (unless no-encode | 767 | (unless no-encode |