Synch with Oort Gnus.
[elisp/gnus.git-] / lisp / gnus-cite.el
index 681745c..2a593c7 100644 (file)
@@ -440,7 +440,9 @@ If WIDTH (the numerical prefix), use that text width when filling."
          (narrow-to-region (caar marks) (caadr marks))
          (let ((adaptive-fill-regexp
                 (concat "^" (regexp-quote (cdar marks)) " *"))
-               (fill-prefix (cdar marks)))
+               (fill-prefix
+                (if (string= (cdar marks) "") ""
+                  (concat (cdar marks) " "))))
            (fill-region (point-min) (point-max)))
          (set-marker (caar marks) nil)
          (setq marks (cdr marks)))
@@ -470,8 +472,8 @@ always hide."
                          gnus-hidden-properties))
            (point (point-min))
            found beg end start)
-       (while (setq point 
-                    (text-property-any point (point-max) 
+       (while (setq point
+                    (text-property-any point (point-max)
                                        'gnus-callback
                                        'gnus-article-toggle-cited-text))
          (setq found t)
@@ -548,11 +550,11 @@ means show, nil means toggle."
              (and (< arg 0) hidden))
       (if hidden
          (gnus-remove-text-properties-when
-          'article-type 'cite beg end 
+          'article-type 'cite beg end
           (cons 'article-type (cons 'cite
                                     gnus-hidden-properties)))
        (gnus-add-text-properties-when
-        'article-type nil beg end 
+        'article-type nil beg end
         (cons 'article-type (cons 'cite
                                   gnus-hidden-properties))))
       (save-excursion