summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2014-03-24 00:35:00 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2014-03-24 00:35:00 +0000
commit1fedc427090ec3157b2f687c8da6d9e9e0702baf (patch)
treec7240fde16d85173676921b5508c863171c3b125 /lisp
parent70c0e6558277b7bcf2f88ea92a6270901e6a0acd (diff)
downloademacs-1fedc427090ec3157b2f687c8da6d9e9e0702baf.tar.gz
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog8
-rw-r--r--lisp/gnus/gnus-cloud.el7
-rw-r--r--lisp/gnus/gnus-sum.el2
3 files changed, 16 insertions, 1 deletions
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 <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
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.