[gnus git] branch master updated: n0-15-91-gaf8a056 =2= Add <sup> and <sub> support. ; Merge.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via af8a056de8085bfe86f512f65caba7bfd5bea12d (commit)
via 5d5c2f3d7160a6878e6f20fa46d0dc605dbedeb4 (commit)
from 0657a9fe912e3f5ee15e07766c41ff937279338a (commit)
- Log -----------------------------------------------------------------
commit af8a056de8085bfe86f512f65caba7bfd5bea12d
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sun Apr 24 21:12:15 2011 +0200
Add <sup> and <sub> support.
diff --git a/lisp/shr.el b/lisp/shr.el
index 401ac1a..1f6cb52 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -734,6 +734,16 @@ ones, in case fg and bg are nil."
(defun shr-tag-script (cont)
)
+(defun shr-tag-sup (cont)
+ (let ((start (point)))
+ (shr-generic cont)
+ (put-text-property start (point) 'display '(raise 0.5))))
+
+(defun shr-tag-sub (cont)
+ (let ((start (point)))
+ (shr-generic cont)
+ (put-text-property start (point) 'display '(raise -0.5))))
+
(defun shr-tag-label (cont)
(shr-generic cont)
(shr-ensure-paragraph))
commit 5d5c2f3d7160a6878e6f20fa46d0dc605dbedeb4
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sun Apr 24 21:13:11 2011 +0200
Merge.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4fcaadc..3426a6e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,11 @@
* gnus-sum.el (gnus-extra-headers): Bump :version.
+2011-04-24 Lars Magne Ingebrigtsen <[email protected]>
+
+ * shr.el (shr-tag-sup): New function.
+ (shr-tag-sub): Ditto.
+
2011-04-22 Teodor Zlatanov <[email protected]>
* gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
-----------------------------------------------------------------------
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/shr.el | 10 ++++++++++
2 files changed, 15 insertions(+), 0 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