[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103048: gnus-art.el (article-transfo
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103048: gnus-art.el (article-transform-date): Fix infinite recursion. |
Date: |
Mon, 31 Jan 2011 10:49:39 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103048
author: Lars Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Mon 2011-01-31 10:49:39 +0000
message:
gnus-art.el (article-transform-date): Fix infinite recursion.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-01-31 07:27:07 +0000
+++ b/lisp/gnus/ChangeLog 2011-01-31 10:49:39 +0000
@@ -2,6 +2,7 @@
* gnus-art.el (article-transform-date): Rewrite to still work when
there are several rfc2822 parts.
+ (article-transform-date): Fix infinite recursion.
* nnimap.el (nnimap-wait-for-response): Wait for results in a more
secure manner.
=== modified file 'lisp/gnus/gnus-art.el'
--- a/lisp/gnus/gnus-art.el 2011-01-31 07:27:07 +0000
+++ b/lisp/gnus/gnus-art.el 2011-01-31 10:49:39 +0000
@@ -3440,8 +3440,7 @@
(delete-region (point-at-bol) (progn
(gnus-article-forward-header)
(point)))
- (article-transform-date date type bface eface)
- (forward-line 1)))))))
+ (article-transform-date date type bface eface)))))))
(defun article-transform-date (date type bface eface)
(dolist (this-type (cond
@@ -3463,7 +3462,8 @@
(put-text-property (match-beginning 1) (1+ (match-end 1))
'face bface)
(put-text-property (match-beginning 2) (match-end 2)
- 'face eface))))
+ 'face eface))
+ (forward-line 1)))
(defun article-make-date-line (date type)
"Return a DATE line of TYPE."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103048: gnus-art.el (article-transform-date): Fix infinite recursion.,
Katsumi Yamaoka <=