X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fflow-fill.el;h=de3dd4b858624cb7c50d66133068d990d7492676;hb=3738187cad20787b5b99c4061256e30e19ee721a;hp=64946f9f040a579aca2dc000bf10330dba1c8b77;hpb=104a4dfd02fa25e48924ef8ea1365279f636c6d6;p=elisp%2Fgnus.git- diff --git a/lisp/flow-fill.el b/lisp/flow-fill.el index 64946f9..de3dd4b 100644 --- a/lisp/flow-fill.el +++ b/lisp/flow-fill.el @@ -1,6 +1,6 @@ ;;; flow-fill.el --- interprete RFC2646 "flowed" text -;; Copyright (C) 2000 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2001 Free Software Foundation, Inc. ;; Author: Simon Josefsson ;; Keywords: mail @@ -38,7 +38,7 @@ ;; Todo: encoding, implement basic `fill-region' (Emacs and XEmacs ;; implementations differ..) -;; History: +;;; History: ;; 2000-02-17 posted on ding mailing list ;; 2000-02-19 use `point-at-{b,e}ol' in XEmacs @@ -95,7 +95,7 @@ (unless sig (let ((fill-prefix (when quote (concat quote " ")))) (fill-region (fill-flowed-point-at-bol) - (fill-flowed-point-at-eol) + (min (1+ (fill-flowed-point-at-eol)) (point-max)) 'left 'nosqueeze)))))))) (provide 'flow-fill)