From 1fedc427090ec3157b2f687c8da6d9e9e0702baf Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Mon, 24 Mar 2014 00:35:00 +0000 Subject: [PATCH] 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. --- lisp/gnus/ChangeLog | 8 ++++++++ lisp/gnus/gnus-cloud.el | 7 ++++++- lisp/gnus/gnus-sum.el | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 99b0ccd84d1..f701998f06a 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,11 @@ +2014-03-24 Katsumi Yamaoka + + * 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 * gnus-sum.el (gnus-summary-toggle-header): Display header attachment diff --git a/lisp/gnus/gnus-cloud.el b/lisp/gnus/gnus-cloud.el index 62a25d7b9e0..c47976bdcfa 100644 --- a/lisp/gnus/gnus-cloud.el +++ b/lisp/gnus/gnus-cloud.el @@ -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) diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index dca2a2c1499..090cbede76d 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -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. -- 2.39.5