Commits

stephent  committed de14bd1

sorry, Rendhalver, 15 minutes too late for 1.54---canonicalize region <1035838103.2736.114.camel@bobcat.ods.org>

  • Participants
  • Parent commits a7a2b4b

Comments (0)

Files changed (2)

+2002-09-13  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* filladapt.el (fill-region): Ensure beg <= end.
+	RFE from David Panariti <davep.xemacs@meduseld.net>.
+
 2002-10-29  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.54 released.
 	* image-mode.el: Substantially re-written to avoid use of
 	format-alist.
 
-2002-10-15  Ville Skyttä  <scop@xemacs.org>
+2002-10-15  Ville Skytt,Ad(B  <scop@xemacs.org>
 
 	* Makefile (srckit): Remove.
 
 
 	* Makefile (VERSION): XEmacs package 1.53 released.
 
-2002-09-30  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-09-30  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* image-mode.el: Add autoloaded auto-mode-alist associations.
 	* nroff-mode.el: Ditto.
 
 	* Makefile (VERSION): XEmacs package 1.52 released.
 
-2002-08-29  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-08-29  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* flyspell.el: Sync with upstream.
 	(flyspell-auto-correct-binding): New.
 
 	* Makefile (VERSION): XEmacs package 1.51 released.
 
-2002-08-03  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-08-03  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* po-mode.el: Sync with gettext 0.11.4.  No autoloads
 	because of previously reported problems with keybindings.
 	(folding-font-lock-begin-mark): New user variable.
 	(folding-font-lock-end-mark): New user variable..
 
-2002-08-02  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-08-02  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* xrdb-mode.el: Sync with author version 2.27.
 
 
 	* Makefile (VERSION): XEmacs package 1.50 released.
 
-2002-08-01  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-08-01  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* flyspell.el: Sync with author version 1.6h, with a change:
 	(flyspell-mouse-map): Use C-; instead of C-/ for
 	missing. Added.
 	(folding-uninstall-hooks): added
 	`turn-off-folding-mode'
-	(folding-mode): Moved ´folding-keep-hooked' to the
+	(folding-mode): Moved ,A4(Bfolding-keep-hooked' to the
 	point where folding is turned on. It should not be called
 	if folding is turned off.
 
 
 	* Makefile (VERSION): XEmacs package 1.47 released.
 
-2002-06-13  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-06-13  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* Makefile (ELCS): Add css-mode.elc.
 	* package-info.in (provides): Add css-mode.
 	* css-mode.el, css-mode.el.upstream: New files.
 
-2002-06-13  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-06-13  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* package-info.in (provides): Add po-mode.
 
 
 	* Makefile (VERSION): XEmacs package 1.44 released.
 
-2002-05-25  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-05-25  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* apache-mode.el (apache-font-lock-keywords):
 	Add some missing keywords and values for apache-ssl, mod_ssl
 
 	* Makefile (VERSION): XEmacs package 1.42 released.
 
-2002-04-24  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-04-24  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* apache-mode.el (apache-font-lock-keywords):
 	Use string equality test in delete-duplicates.
 
 	* htmlize.el: Sync to upstream version 0.67
 
-2002-04-23  Ville Skyttä  <ville.skytta@xemacs.org>
+2002-04-23  Ville Skytt,Ad(B  <ville.skytta@xemacs.org>
 
 	* apache-mode.el: Docstring updates.
 	(apache-font-lock-keywords):

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))
       (save-restriction
 	(narrow-to-region beg end)