X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=blobdiff_plain;f=lisp%2Fflow-fill.el;h=cdaebbd6837c48cfc3d384fff307a36bbede0667;hp=40639290f1f8b3ff9b4e16cde8eda95c5ebf0e68;hb=e732e1f325f1252e50501024bcafdc6a1867aeeb;hpb=477d2d1e18caaf92a73dbbcbfb1e87d3c104a10a diff --git a/lisp/flow-fill.el b/lisp/flow-fill.el index 40639290f..cdaebbd68 100644 --- a/lisp/flow-fill.el +++ b/lisp/flow-fill.el @@ -1,7 +1,6 @@ ;;; flow-fill.el --- interpret RFC2646 "flowed" text -;; Copyright (C) 2000, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +;; Copyright (C) 2000-2011 Free Software Foundation, Inc. ;; Author: Simon Josefsson ;; Keywords: mail @@ -124,8 +123,6 @@ RFC 2646 suggests 66 characters for readability." (forward-line 1)) (goto-char (point-min)) (while (re-search-forward " $" nil t) - (when delete-space - (delete-char -1)) (when (save-excursion (beginning-of-line) (looking-at "^\\(>*\\)\\( ?\\)")) @@ -153,6 +150,8 @@ RFC 2646 suggests 66 characters for readability." (replace-match (if (string= (match-string 2) " ") "" "\\2"))) (backward-delete-char -1) + (when delete-space + (delete-char -1)) (end-of-line)) (unless sig (condition-case nil