Mercurial > hg > xemacs-beta
diff lisp/gnus/gnus-util.el @ 28:1917ad0d78d7 r19-15b97
Import from CVS: tag r19-15b97
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:55 +0200 |
parents | 8fc7fe29b841 |
children | ec9a17fef872 |
line wrap: on
line diff
--- a/lisp/gnus/gnus-util.el Mon Aug 13 08:51:34 2007 +0200 +++ b/lisp/gnus/gnus-util.el Mon Aug 13 08:51:55 2007 +0200 @@ -777,8 +777,13 @@ (erase-buffer) (insert-buffer-substring artbuf) (goto-char (point-min)) - (unless (looking-at "From ") + (if (looking-at "From ") + (forward-line 1) (insert "From nobody " (current-time-string) "\n")) + (let (case-fold-search) + (while (re-search-forward "^From " nil t) + (beginning-of-line) + (insert ">"))) ;; Decide whether to append to a file or to an Emacs buffer. (let ((outbuf (get-file-buffer filename))) (if (not outbuf)