Gnus: silence the byte compiler

* gnus-cloud.el (gnus-cloud-parse-version-1):
Use plist-get rather than CL's getf.
(gnus-activate-group, gnus-subscribe-group): Declare.
* gnus-sum.el (gnus-mime-buttonize-attachments-in-header: Declare.
This commit is contained in:
Katsumi Yamaoka 2014-03-24 00:35:00 +00:00
parent 70c0e65582
commit 1fedc42709
3 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2014-03-24 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-cloud.el (gnus-cloud-parse-version-1):
Use plist-get rather than CL's getf.
(gnus-activate-group, gnus-subscribe-group): Declare.
* gnus-sum.el (gnus-mime-buttonize-attachments-in-header: Declare.
2014-03-23 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-sum.el (gnus-summary-toggle-header): Display header attachment

View file

@ -125,7 +125,7 @@
(let ((spec (ignore-errors (read (current-buffer))))
length)
(when (and (consp spec)
(memq (getf spec :type) '(:file :data :deleta)))
(memq (plist-get spec :type) '(:file :data :deleta)))
(setq length (plist-get spec :length))
(push (append spec
(list
@ -229,6 +229,11 @@
(string< old timestamp))
timestamp)))
(declare-function gnus-activate-group "gnus-start"
(group &optional scan dont-check method dont-sub-check))
(declare-function gnus-subscribe-group "gnus-start"
(group &optional previous method))
(defun gnus-cloud-ensure-cloud-group ()
(let ((method (if (stringp gnus-cloud-method)
(gnus-server-to-method gnus-cloud-method)

View file

@ -9783,6 +9783,8 @@ If ARG is a negative number, turn header display off."
(declare-function article-narrow-to-head "gnus-art" ())
(declare-function gnus-article-hidden-text-p "gnus-art" (type))
(declare-function gnus-delete-wash-type "gnus-art" (type))
(declare-function gnus-mime-buttonize-attachments-in-header
"gnus-art" (&optional interactive))
(defun gnus-summary-toggle-header (&optional arg)
"Show the headers if they are hidden, or hide them if they are shown.