[gnus git] branch master updated: m0-7-223-gbb6784f =3= mml2015.el (gnus-create-image): Autoload it ; gnus-spec.el (gnus-xmas-format): Fix weird error call ; gnus-html.el (declare-function): Add compat stub for ancient Emacs; (image-size): Declare

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  bb6784f191731e1c56cfd29c34124df0d5f8c03e (commit)
       via  44cd749b914ce42355f446f9cf8e38c5380ac292 (commit)
       via  bdd9cafe3f408df50a854b31ce3dcb9f4c513f30 (commit)
      from  798aa427d40a951fc1310d9d4ac5c0c773510b3e (commit)


- Log -----------------------------------------------------------------
commit bb6784f191731e1c56cfd29c34124df0d5f8c03e
Author: Glenn Morris <[email protected]>
Date:   Fri Sep 13 09:18:15 2013 +0000

    mml2015.el (gnus-create-image): Autoload it

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cda7599..76f251b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2013-09-13  Glenn Morris  <[email protected]>
 
+	* mml2015.el (gnus-create-image): Autoload it.
+
 	* gnus-spec.el (gnus-xmas-format): Fix weird error call.
 
 	* gnus-html.el (declare-function): Add compat stub for ancient Emacs.

commit 44cd749b914ce42355f446f9cf8e38c5380ac292
Author: Glenn Morris <[email protected]>
Date:   Fri Sep 13 09:18:05 2013 +0000

    gnus-spec.el (gnus-xmas-format): Fix weird error call

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4d3b1b7..cda7599 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2013-09-13  Glenn Morris  <[email protected]>
 
+	* gnus-spec.el (gnus-xmas-format): Fix weird error call.
+
 	* gnus-html.el (declare-function): Add compat stub for ancient Emacs.
 	(image-size): Declare.
 
diff --git a/lisp/gnus-spec.el b/lisp/gnus-spec.el
index 0ff8ec8..a39f185 100644
--- a/lisp/gnus-spec.el
+++ b/lisp/gnus-spec.el
@@ -512,7 +512,8 @@ are supported for %s."
 	  (delete-char -1))
 	 (t
 	  (if (null args)
-	      (error 'wrong-number-of-arguments #'my-format n fstring))
+	      (signal 'wrong-number-of-arguments
+		      (list #'gnus-xmas-format n fstring)))
 	  (let* ((minlen (string-to-number (or (match-string 2) "")))
 		 (arg (car args))
 		 (str (if (stringp arg) arg (format "%s" arg)))

commit bdd9cafe3f408df50a854b31ce3dcb9f4c513f30
Author: Glenn Morris <[email protected]>
Date:   Fri Sep 13 09:17:33 2013 +0000

    gnus-html.el (declare-function): Add compat stub for ancient Emacs;
    (image-size): Declare

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a4b5ec4..4d3b1b7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-13  Glenn Morris  <[email protected]>
+
+	* gnus-html.el (declare-function): Add compat stub for ancient Emacs.
+	(image-size): Declare.
+
 2013-09-12  Glenn Morris  <[email protected]>
 
 	* gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body):
diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el
index a5625df..2700af3 100644
--- a/lisp/gnus-html.el
+++ b/lisp/gnus-html.el
@@ -28,6 +28,10 @@
 
 ;;; Code:
 
+;; For Emacs <22.2 and XEmacs.
+(eval-and-compile
+  (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
+
 (eval-when-compile (require 'cl))
 
 (require 'gnus-art)
@@ -438,6 +442,9 @@ Return a string with image data."
      (truncate (* gnus-max-image-proportion
                   (- (nth 3 edges) (nth 1 edges)))))))
 
+;; Behind display-graphic-p test.
+(declare-function image-size "image.c" (spec &optional pixels frame))
+
 (defun gnus-html-put-image (data url &optional alt-text)
   "Put an image with DATA from URL and optional ALT-TEXT."
   (when (gnus-graphic-display-p)

-----------------------------------------------------------------------
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    |    9 +++++++++
 lisp/gnus-html.el |    7 +++++++
 lisp/gnus-spec.el |    3 ++-
 3 files changed, 18 insertions(+), 1 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.