[gnus git] branch master updated: m0-5-33-gad8f05e =2= Add epa ; Make picon display customizable

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  ad8f05e2d387e5a8a2802dea0fb783703fa74eaa (commit)
       via  e4279667bfd84469ec457cd426072e85291c49a3 (commit)
      from  437a11efc10f921b3a4d068d67d6a736b00ad698 (commit)


- Log -----------------------------------------------------------------
commit ad8f05e2d387e5a8a2802dea0fb783703fa74eaa
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jun 11 23:30:36 2012 +0200

    Add epa

diff --git a/texi/.gitignore b/texi/.gitignore
index a136337..c0750fe 100644
--- a/texi/.gitignore
+++ b/texi/.gitignore
@@ -1 +1,2 @@
 *.pdf
+epa

commit e4279667bfd84469ec457cd426072e85291c49a3
Author: Wolfgang Jenkner <[email protected]>
Date:   Mon Jun 11 23:30:19 2012 +0200

    Make picon display customizable
    
    * lisp/gnus-picon.el (gnus-picon-properties): New defcustom.
    (gnus-picon-create-glyph): Use it.
    
    * texi/gnus.texi (Picons): Document gnus-picon-properties.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5bfe294..b09d0eb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-04  Wolfgang Jenkner  <[email protected]>
+
+	* gnus-picon.el (gnus-picon-properties): New defcustom.
+	(gnus-picon-create-glyph): Use it.
+
 2012-06-10  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* gnus-group.el (gnus-group-get-new-news): Respect
diff --git a/lisp/gnus-picon.el b/lisp/gnus-picon.el
index 2f347ef..3b335b3 100644
--- a/lisp/gnus-picon.el
+++ b/lisp/gnus-picon.el
@@ -75,6 +75,12 @@ Some people may want to add \"unknown\" to this list."
   :type '(repeat string)
   :group 'gnus-picon)
 
+(defcustom gnus-picon-properties '(:color-symbols (("None" . "white")))
+  "List of image properties applied to picons."
+  :type 'list
+  :version "24.2"
+  :group 'gnus-picon)
+
 (defcustom gnus-picon-style 'inline
   "How should picons be displayed.
 If `inline', the textual representation is replaced.  If `right', picons are
@@ -157,9 +163,9 @@ replacement is added."
 
 (defun gnus-picon-create-glyph (file)
   (or (cdr (assoc file gnus-picon-glyph-alist))
-      (cdar (push (cons file (gnus-create-image
+      (cdar (push (cons file (apply 'gnus-create-image
 			      file nil nil
-			      :color-symbols '(("None" . "white"))))
+				    gnus-picon-properties))
 		  gnus-picon-glyph-alist))))
 
 ;;; Functions that does picon transformations:
diff --git a/texi/ChangeLog b/texi/ChangeLog
index f6fe6bf..a3f57aa 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-04  Wolfgang Jenkner  <[email protected]>
+
+	* gnus.texi (Picons): Document gnus-picon-properties.
+
 2012-06-11  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* gnus.texi (Group Timestamp): Mention where to find documentation for
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 7bafe30..ff2c416 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -23541,6 +23541,10 @@ The variable @code{gnus-picon-style} controls how picons are displayed.
 If @code{inline}, the textual representation is replaced.  If
 @code{right}, picons are added right to the textual representation.
 
+@vindex gnus-picon-properties
+The value of the variable @code{gnus-picon-properties} is a list of
+properties applied to picons.
+
 The following variables offer control over where things are located.
 
 @table @code

-----------------------------------------------------------------------
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/gnus-picon.el |   12 +++++++++---
 texi/.gitignore    |    1 +
 texi/ChangeLog     |    4 ++++
 texi/gnus.texi     |    4 ++++
 5 files changed, 23 insertions(+), 3 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.