emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam <noorul@noorul.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: [PATCH] org-gnus.el: Suppress compiler warning.
Date: Sat, 31 Jul 2010 19:28:27 +0530	[thread overview]
Message-ID: <AANLkTinmS0Wq8vwTGHUc7eNEWJvGf0O6A7ye5j5buuVn@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 178 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 245 bytes --]

[-- Attachment #2: org-gnus-suppress-warning.txt --]
[-- Type: text/plain, Size: 501 bytes --]

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)

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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	other threads:[~2010-07-31 13:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-31 13:58 Noorul Islam [this message]
2010-07-31 16:42 ` [PATCH] org-gnus.el: Suppress compiler warning Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinmS0Wq8vwTGHUc7eNEWJvGf0O6A7ye5j5buuVn@mail.gmail.com \
    --to=noorul@noorul.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).