diff options
| author | Lars Ingebrigtsen | 2016-02-13 15:58:24 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-13 15:58:24 +1100 |
| commit | f6d71b509722f07db92d0b2cdfce2d6b71b098cf (patch) | |
| tree | 45816f7e8b01786794b44cac109c3618bc696d00 | |
| parent | bd1f4a493c9bdad18b8ee323817c0cc0c4994689 (diff) | |
| download | emacs-f6d71b509722f07db92d0b2cdfce2d6b71b098cf.tar.gz emacs-f6d71b509722f07db92d0b2cdfce2d6b71b098cf.zip | |
Fix compilation warnings in gnus-art.el
* lisp/gnus/gnus-art.el (rfc1843-decode-region): Autoload.
(gnus-article-hide): Avoid compilation warnings.
| -rw-r--r-- | lisp/gnus/gnus-art.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 920544d5c51..0ac475d7941 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2671,13 +2671,11 @@ If READ-CHARSET, ask for a coding system." | |||
| 2671 | (point-min) (point-max) | 2671 | (point-min) (point-max) |
| 2672 | (mm-charset-to-coding-system charset nil t))))))) | 2672 | (mm-charset-to-coding-system charset nil t))))))) |
| 2673 | 2673 | ||
| 2674 | (eval-when-compile | 2674 | (autoload 'rfc1843-decode-region "rfc1843") |
| 2675 | (require 'rfc1843)) | ||
| 2676 | 2675 | ||
| 2677 | (defun article-decode-HZ () | 2676 | (defun article-decode-HZ () |
| 2678 | "Translate a HZ-encoded article." | 2677 | "Translate a HZ-encoded article." |
| 2679 | (interactive) | 2678 | (interactive) |
| 2680 | (require 'rfc1843) | ||
| 2681 | (save-excursion | 2679 | (save-excursion |
| 2682 | (let ((inhibit-read-only t)) | 2680 | (let ((inhibit-read-only t)) |
| 2683 | (rfc1843-decode-region (point-min) (point-max))))) | 2681 | (rfc1843-decode-region (point-min) (point-max))))) |
| @@ -6303,7 +6301,7 @@ Provided for backwards compatibility." | |||
| 6303 | (not (with-current-buffer gnus-summary-buffer | 6301 | (not (with-current-buffer gnus-summary-buffer |
| 6304 | gnus-have-all-headers))) | 6302 | gnus-have-all-headers))) |
| 6305 | (not gnus-inhibit-hiding)) | 6303 | (not gnus-inhibit-hiding)) |
| 6306 | (gnus-article-hide-headers))) | 6304 | (article-hide-headers))) |
| 6307 | 6305 | ||
| 6308 | (declare-function shr-put-image "shr" (data alt &optional flags)) | 6306 | (declare-function shr-put-image "shr" (data alt &optional flags)) |
| 6309 | 6307 | ||
| @@ -6971,10 +6969,11 @@ This means that signatures, cited text and (some) headers will be | |||
| 6971 | hidden. | 6969 | hidden. |
| 6972 | If given a prefix, show the hidden text instead." | 6970 | If given a prefix, show the hidden text instead." |
| 6973 | (interactive (append (gnus-article-hidden-arg) (list 'force))) | 6971 | (interactive (append (gnus-article-hidden-arg) (list 'force))) |
| 6974 | (gnus-article-hide-headers arg) | 6972 | (gnus-with-article-buffer |
| 6975 | (gnus-article-hide-list-identifiers arg) | 6973 | (article-hide-headers arg) |
| 6976 | (gnus-article-hide-citation-maybe arg force) | 6974 | (article-hide-list-identifiers) |
| 6977 | (gnus-article-hide-signature arg)) | 6975 | (gnus-article-hide-citation-maybe arg force) |
| 6976 | (article-hide-signature arg))) | ||
| 6978 | 6977 | ||
| 6979 | (defun gnus-check-group-server () | 6978 | (defun gnus-check-group-server () |
| 6980 | ;; Make sure the connection to the server is alive. | 6979 | ;; Make sure the connection to the server is alive. |
| @@ -7278,7 +7277,8 @@ groups." | |||
| 7278 | (when (and (not force) | 7277 | (when (and (not force) |
| 7279 | (gnus-group-read-only-p)) | 7278 | (gnus-group-read-only-p)) |
| 7280 | (error "The current newsgroup does not support article editing")) | 7279 | (error "The current newsgroup does not support article editing")) |
| 7281 | (gnus-article-date-original) | 7280 | (gnus-with-article-buffer |
| 7281 | (article-date-original)) | ||
| 7282 | (gnus-article-edit-article | 7282 | (gnus-article-edit-article |
| 7283 | 'ignore | 7283 | 'ignore |
| 7284 | `(lambda (no-highlight) | 7284 | `(lambda (no-highlight) |