[gnus git] branch master updated: =2= message: make message-options really buffer local ; shr: add support for text attribute in body

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d7f2cb176d4c7dfad075e3914bdde41553ef5a9f (commit)
       via  63f4303602489f15cc8bf1c9f1696e18436999dd (commit)
      from  2407f9c65bd0148548e749d66414ce2f79300751 (commit)


- Log -----------------------------------------------------------------
commit d7f2cb176d4c7dfad075e3914bdde41553ef5a9f
Author: Julien Danjou <[email protected]>
Date:   Wed Feb 9 09:51:42 2011 +0100

    message: make message-options really buffer local
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 14c7f50..47df2e0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-09  Julien Danjou  <[email protected]>
+
+	* message.el (message-options): Make message-options really buffer
+	local.
+
 2011-02-08  Julien Danjou  <[email protected]>
 
 	* shr.el (shr-tag-body): Add support for text attribute in body
diff --git a/lisp/message.el b/lisp/message.el
index 46c25c8..fe05bd1 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -1858,7 +1858,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'."
 
 (defvar	message-options nil
   "Some saved answers when sending message.")
-(make-local-variable 'message-options)
+(make-variable-buffer-local 'message-options)
 
 (defvar message-send-mail-real-function nil
   "Internal send mail function.")

commit 63f4303602489f15cc8bf1c9f1696e18436999dd
Author: Julien Danjou <[email protected]>
Date:   Tue Feb 8 11:32:01 2011 +0100

    shr: add support for text attribute in body
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 19370f2..14c7f50 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-02-08  Julien Danjou  <[email protected]>
 
+	* shr.el (shr-tag-body): Add support for text attribute in body
+	markups.
+
 	* message.el (message-options): Make message-options a local variable.
 
 2011-02-07  Lars Ingebrigtsen  <[email protected]>
diff --git a/lisp/shr.el b/lisp/shr.el
index 5b4e6c7..bb9695e 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -696,7 +696,8 @@ ones, in case fg and bg are nil."
 
 (defun shr-tag-body (cont)
   (let* ((start (point))
-	 (fgcolor (cdr (assq :fgcolor cont)))
+	 (fgcolor (cdr (or (assq :fgcolor cont)
+                           (assq :text cont))))
 	 (bgcolor (cdr (assq :bgcolor cont)))
 	 (shr-stylesheet (list (cons 'color fgcolor)
 			       (cons 'background-color bgcolor))))

-----------------------------------------------------------------------
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  |    8 ++++++++
 lisp/message.el |    2 +-
 lisp/shr.el     |    3 ++-
 3 files changed, 11 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
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.