[gnus git] branch master updated: m0-13-6-g823de7d =1= Silence XEmacs when compiling

Katsumi Yamaoka <[email protected]> Thu, 07 May 2015 02:17:11 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  823de7d87583241aa122e86a93278537372f02db (commit)
      from  46b3b7764209d8d2a79c4620ed3fbf6316453f18 (commit)


- Log -----------------------------------------------------------------
commit 823de7d87583241aa122e86a93278537372f02db
Author: Katsumi Yamaoka <[email protected]>
Date:   Thu May 7 00:16:50 2015 +0000

    Silence XEmacs when compiling
    
    * dgnushack.el (declare-function): Redefine it to use autoload.
    * lpath.el (gnus-html-prefetch-images): Declare.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3e48594..2b6ba51 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-07  Katsumi Yamaoka  <[email protected]>
+
+	* dgnushack.el (declare-function): Redefine it to use autoload.
+	* lpath.el (gnus-html-prefetch-images): Declare.
+
 2015-05-04  Glenn Morris  <[email protected]>
 
 	* gnus-art.el (nneething-get-file-name): Declare rather than autoload.
diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el
index 99b4f5b..8f2a369 100644
--- a/lisp/dgnushack.el
+++ b/lisp/dgnushack.el
@@ -27,7 +27,9 @@
 (defvar dgnushack-default-load-path (copy-sequence load-path))
 
 (unless (fboundp 'declare-function)
-  (defmacro declare-function (&rest r)))
+  (defmacro declare-function (fn file &optional arglist fileonly)
+    `(eval-when-compile
+       (if (not (fboundp ',fn)) (autoload ',fn ,file)))))
 
 (defalias 'facep 'ignore)
 
diff --git a/lisp/lpath.el b/lisp/lpath.el
index e6703ec..ac8149d 100644
--- a/lisp/lpath.el
+++ b/lisp/lpath.el
@@ -43,6 +43,7 @@
   (defun canlock-insert-header (&optional id-for-key id-for-lock password))
   (defun ecomplete-add-item (type key text))
   (defun ecomplete-save nil)
+  (defun gnus-html-prefetch-images (summary))
   (defun hashcash-wait-async (&optional buffer))
   (defun mail-add-payment (&optional arg async))
   (defun mail-add-payment-async (&optional arg))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog    |    5 +++++
 lisp/dgnushack.el |    4 +++-
 lisp/lpath.el     |    1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project