Don't be overzealous when hiding cited text
authorElias Oltmanns <eo@nebensachen.de>
Tue, 10 Apr 2012 19:16:30 +0000 (21:16 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 10 Apr 2012 19:16:30 +0000 (21:16 +0200)
* gnus-cite.el (gnus-dissect-cited-text): A single line without
citation prefix within a block of cited text should be considered part
of that block *only* if it is a blank line.

lisp/ChangeLog
lisp/gnus-cite.el

index b02af02..3bd68f2 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-10  Elias Oltmanns  <eo@nebensachen.de>
+
+       * gnus-cite.el (gnus-dissect-cited-text): A single line without
+       citation prefix within a block of cited text should be considered part
+       of that block *only* if it is a blank line.
+
 2012-04-09  Chong Yidong  <cyd@gnu.org>
 
        * binhex.el, hashcash.el, uudecode.el:
index c744344..6bcba71 100644 (file)
@@ -509,6 +509,7 @@ Lines matching `gnus-cite-attribution-suffix' and perhaps
          (if (and (equal (cdadr m) "")
                   (equal (cdar m) (cdaddr m))
                   (goto-char (caadr m))
+                  (looking-at "[ \t]*$")
                   (forward-line 1)
                   (= (point) (caaddr m)))
              (setcdr m (cdddr m))