[gnus git] branch master updated: m0-13-7-g9e2d18b =1= dgnushack.el (declare-function): Ignore the definition defined in subr-fsf.el

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


- Log -----------------------------------------------------------------
commit 9e2d18b698808b3a1e80add234e900cdf673534f
Author: Katsumi Yamaoka <[email protected]>
Date:   Thu May 7 06:02:13 2015 +0000

    dgnushack.el (declare-function): Ignore the definition defined in subr-fsf.el

diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el
index 8f2a369..404ee12 100644
--- a/lisp/dgnushack.el
+++ b/lisp/dgnushack.el
@@ -26,10 +26,10 @@
 
 (defvar dgnushack-default-load-path (copy-sequence load-path))
 
-(unless (fboundp 'declare-function)
+(when (featurep 'xemacs)
   (defmacro declare-function (fn file &optional arglist fileonly)
     `(eval-when-compile
-       (if (not (fboundp ',fn)) (autoload ',fn ,file)))))
+       (unless (fboundp ',fn) (autoload ',fn ,file)))))
 
 (defalias 'facep 'ignore)
 

-----------------------------------------------------------------------
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/dgnushack.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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