2001-07-03 Simon Josefsson <jas@extundo.com>
authorSimon Josefsson <jas@extundo.com>
Tue, 3 Jul 2001 12:22:45 +0000 (12:22 +0000)
committerSimon Josefsson <jas@extundo.com>
Tue, 3 Jul 2001 12:22:45 +0000 (12:22 +0000)
From Nuutti Kotivuori <nuutti.kotivuori@smarttrust.com>

* flow-fill.el (fill-flowed): Use (1+ (point-at-eol)) instead.

lisp/ChangeLog
lisp/flow-fill.el

index 141d331..81be6f7 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-03  Simon Josefsson  <jas@extundo.com>
+       From Nuutti Kotivuori <nuutti.kotivuori@smarttrust.com>
+
+       * flow-fill.el (fill-flowed): Use (1+ (point-at-eol)) instead.
+
 2001-07-03  Simon Josefsson  <jas@extundo.com>
 
        * flow-fill.el (fill-flowed): If `fill-region' inserts empty line,
index 5d738fe..6150d51 100644 (file)
          (unless sig
            (let ((fill-prefix (when quote (concat quote " "))))
              (fill-region (fill-flowed-point-at-bol)
-                          (fill-flowed-point-at-eol)
-                          'left 'nosqueeze)
-
-             (when (looking-at "^$")
-               (kill-line)))))))))
+                          (1+ (fill-flowed-point-at-eol))
+                          'left 'nosqueeze))))))))
 
 (provide 'flow-fill)