# HG changeset patch # User Juanma Barranquero # Date 1168442715 0 # Node ID de505aec360d0101843dd92365538dcfd5e0a0e6 # Parent efbcec64e69dd37729bf8126f228d34242014bf8 (fill-region): Doc fix. diff -r efbcec64e69d -r de505aec360d lisp/textmodes/fill.el --- a/lisp/textmodes/fill.el Wed Jan 10 15:24:06 2007 +0000 +++ b/lisp/textmodes/fill.el Wed Jan 10 15:25:15 2007 +0000 @@ -743,7 +743,7 @@ (defun fill-minibuffer-function (arg) "Fill a paragraph in the minibuffer, ignoring the prompt." - (save-restriction + (save-restriction (narrow-to-region (minibuffer-prompt-end) (point-max)) (fill-paragraph arg))) @@ -840,7 +840,7 @@ (comment-re ;; A regexp more specialized than comment-start-skip, that only ;; matches the current commark rather than any valid commark. - ;; + ;; ;; The specialized regexp only works for "normal" comment ;; syntax, not for Texinfo's "@c" (which can't be immediately ;; followed by word-chars) or Fortran's "C" (which needs to be @@ -948,13 +948,13 @@ Noninteractively, the third argument JUSTIFY specifies which kind of justification to do: `full', `left', `right', `center', -or `none' (equivalent to nil). t means handle each paragraph -as specified by its text properties. +or `none' (equivalent to nil). A value of t means handle each +paragraph as specified by its text properties. -The fourth arg NOSQUEEZE non-nil means to leave -whitespace other than line breaks untouched, and fifth arg TO-EOP -non-nil means to keep filling to the end of the paragraph (or next -hard newline, if variable `use-hard-newlines' is on). +The fourth arg NOSQUEEZE non-nil means to leave whitespace other +than line breaks untouched, and fifth arg TO-EOP non-nil means +to keep filling to the end of the paragraph (or next hard newline, +if variable `use-hard-newlines' is on). Return the fill-prefix used for filling the last paragraph.