unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Doc fix for fill-nonuniform-paragraphs in lisp/textmodes/fill.el
@ 2005-08-09 13:09 Ben North
  2005-08-09 14:05 ` Juanma Barranquero
  2005-08-09 21:14 ` Kevin Rodgers
  0 siblings, 2 replies; 3+ messages in thread
From: Ben North @ 2005-08-09 13:09 UTC (permalink / raw)


Tiny fix: The argument names in the docstring don't match their names in
the definition.


--- REV-1.180--fill.el  2005-08-09 14:03:41.775475100 +0100
+++ NEW--fill.el        2005-08-09 14:04:13.271077600 +0100
@@ -1275,22 +1275,22 @@
 
 
 (defun fill-nonuniform-paragraphs (min max &optional justifyp citation-regexp)
   "Fill paragraphs within the region, allowing varying indentation within
each.
 This command divides the region into \"paragraphs\",
 only at paragraph-separator lines, then fills each paragraph
 using as the fill prefix the smallest indentation of any line
 in the paragraph.
 
 When calling from a program, pass range to fill as first two arguments.
 
-Optional third and fourth arguments JUSTIFY and MAIL-FLAG:
-JUSTIFY to justify paragraphs (prefix arg),
+Optional third and fourth arguments JUSTIFYP and CITATION-REGEXP:
+JUSTIFYP to justify paragraphs (prefix arg),
 When filling a mail message, pass a regexp for CITATION-REGEXP
 which will match the prefix of a line which is a citation marker
 plus whitespace, but no other kind of prefix.
 Also, if CITATION-REGEXP is non-nil, don't fill header lines."
   (interactive (progn
                 (barf-if-buffer-read-only)
                 (list (region-beginning) (region-end)
                       (if current-prefix-arg 'full))))
   (let ((fill-individual-varying-indent t))
     (fill-individual-paragraphs min max justifyp citation-regexp)))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Doc fix for fill-nonuniform-paragraphs in lisp/textmodes/fill.el
  2005-08-09 13:09 Doc fix for fill-nonuniform-paragraphs in lisp/textmodes/fill.el Ben North
@ 2005-08-09 14:05 ` Juanma Barranquero
  2005-08-09 21:14 ` Kevin Rodgers
  1 sibling, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2005-08-09 14:05 UTC (permalink / raw)
  Cc: emacs-devel

> Tiny fix: The argument names in the docstring don't match their names in
> the definition.
> 
> --- REV-1.180--fill.el  2005-08-09 14:03:41.775475100 +0100
> +++ NEW--fill.el        2005-08-09 14:04:13.271077600 +0100
> @@ -1275,22 +1275,22 @@

Applied, thanks.

-- 
                    /L/e/k/t/u

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Doc fix for fill-nonuniform-paragraphs in lisp/textmodes/fill.el
  2005-08-09 13:09 Doc fix for fill-nonuniform-paragraphs in lisp/textmodes/fill.el Ben North
  2005-08-09 14:05 ` Juanma Barranquero
@ 2005-08-09 21:14 ` Kevin Rodgers
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-08-09 21:14 UTC (permalink / raw)


Ben North wrote:
 >    (interactive (progn
 >                  (barf-if-buffer-read-only)
 >                  (list (region-beginning) (region-end)
 >                        (if current-prefix-arg 'full))))

Why is that better than:

    (interactive "*\rP")

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-09 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 13:09 Doc fix for fill-nonuniform-paragraphs in lisp/textmodes/fill.el Ben North
2005-08-09 14:05 ` Juanma Barranquero
2005-08-09 21:14 ` Kevin Rodgers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).