The attached patch suppresses a compiler warning in org-gnus.el

* lisp/org-gnus.el:
  Suppress compiler warning by declaring outside function
nnimap-retrieve-headers-from-file.
diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el
index 7a339cd..16aa476 100644
--- a/lisp/org-gnus.el
+++ b/lisp/org-gnus.el
@@ -41,7 +41,8 @@
 (declare-function message-narrow-to-head-1 "message" nil)
 ;; The following line suppresses a compiler warning stemming from gnus-sum.el
 (declare-function gnus-summary-last-subject "gnus-sum" nil)
-
+;; Suppress compiler warning
+(declare-function nnimap-retrieve-headers-from-file "nnimap" nil)
 ;; Customization variables
 
 (when (fboundp 'defvaralias)
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to