1. xemacs
  2. text-modes


text-modes / filladapt.el

Diff from to

File filladapt.el

 If `sentence-end-double-space' is non-nil, then period followed by one
 space does not end a sentence, so don't break a line there."
   (interactive "*r\nP")
+  ;; ensure beg <= end as in core version of fill-region
+  (let ((newbeg (min beg end))
+        (newend (max beg end)))
+    (setq beg newbeg)
+    (setq end newend))
   (if (and filladapt-mode (not filladapt-inside-filladapt))
 	(narrow-to-region beg end)