aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-01-10 15:28:11 +0000
committerJuanma Barranquero2007-01-10 15:28:11 +0000
commit743a6977d41484aef13ebb28cea7f88dd6478f29 (patch)
treeb629a875058f5677d3cc305da0a7ddcc32e59194
parentd483ec4cdb6915485b535118d67b1ce0413501d2 (diff)
downloademacs-743a6977d41484aef13ebb28cea7f88dd6478f29.tar.gz
emacs-743a6977d41484aef13ebb28cea7f88dd6478f29.zip
(fill-region): Doc fix.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/fill.el16
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 17145837a6e..f24de58fbb7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-01-10 Juanma Barranquero <lekktu@gmail.com>
2
3 * ediff-init.el (ediff-autostore-merges):
4 * textmodes/fill.el (fill-region): Doc fix.
5
12007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> 62007-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * server.el (server-ensure-safe-dir): UIDs may be floats. 8 * server.el (server-ensure-safe-dir): UIDs may be floats.
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 94f29043d5d..65c8067d48a 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -743,7 +743,7 @@ space does not end a sentence, so don't break a line there."
743 743
744(defun fill-minibuffer-function (arg) 744(defun fill-minibuffer-function (arg)
745 "Fill a paragraph in the minibuffer, ignoring the prompt." 745 "Fill a paragraph in the minibuffer, ignoring the prompt."
746 (save-restriction 746 (save-restriction
747 (narrow-to-region (minibuffer-prompt-end) (point-max)) 747 (narrow-to-region (minibuffer-prompt-end) (point-max))
748 (fill-paragraph arg))) 748 (fill-paragraph arg)))
749 749
@@ -840,7 +840,7 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'."
840 (comment-re 840 (comment-re
841 ;; A regexp more specialized than comment-start-skip, that only 841 ;; A regexp more specialized than comment-start-skip, that only
842 ;; matches the current commark rather than any valid commark. 842 ;; matches the current commark rather than any valid commark.
843 ;; 843 ;;
844 ;; The specialized regexp only works for "normal" comment 844 ;; The specialized regexp only works for "normal" comment
845 ;; syntax, not for Texinfo's "@c" (which can't be immediately 845 ;; syntax, not for Texinfo's "@c" (which can't be immediately
846 ;; followed by word-chars) or Fortran's "C" (which needs to be 846 ;; followed by word-chars) or Fortran's "C" (which needs to be
@@ -948,13 +948,13 @@ Ordinarily the variable `fill-column' controls the width.
948 948
949Noninteractively, the third argument JUSTIFY specifies which 949Noninteractively, the third argument JUSTIFY specifies which
950kind of justification to do: `full', `left', `right', `center', 950kind of justification to do: `full', `left', `right', `center',
951or `none' (equivalent to nil). t means handle each paragraph 951or `none' (equivalent to nil). A value of t means handle each
952as specified by its text properties. 952paragraph as specified by its text properties.
953 953
954The fourth arg NOSQUEEZE non-nil means to leave 954The fourth arg NOSQUEEZE non-nil means to leave whitespace other
955whitespace other than line breaks untouched, and fifth arg TO-EOP 955than line breaks untouched, and fifth arg TO-EOP non-nil means
956non-nil means to keep filling to the end of the paragraph (or next 956to keep filling to the end of the paragraph (or next hard newline,
957hard newline, if variable `use-hard-newlines' is on). 957if variable `use-hard-newlines' is on).
958 958
959Return the fill-prefix used for filling the last paragraph. 959Return the fill-prefix used for filling the last paragraph.
960 960