aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-14 18:33:44 +0000
committerRichard M. Stallman1995-04-14 18:33:44 +0000
commitf344058994facf0c7f9f7e58c1d33e4b7f5145a8 (patch)
treeeceb29772dc242eb890821506db08e31ecdef1c4
parent8f1e2d16d676d45146f5d2057370c4f058cf95cd (diff)
downloademacs-f344058994facf0c7f9f7e58c1d33e4b7f5145a8.tar.gz
emacs-f344058994facf0c7f9f7e58c1d33e4b7f5145a8.zip
(fill-paragraph, fill-region, fill-nonuniform-paragraphs)
(fill-individual-paragraphs): Pass `full' for JUSTIFY arg, in the interactive spec, if have prefix arg.
-rw-r--r--lisp/textmodes/fill.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index f04378a3adc..ae3e136bca5 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -351,7 +351,7 @@ space does not end a sentence, so don't break a line there.
351 351
352If `fill-paragraph-function' is non-nil, we call it (passing our 352If `fill-paragraph-function' is non-nil, we call it (passing our
353argument to it), and if it returns non-nil, we simply return its value." 353argument to it), and if it returns non-nil, we simply return its value."
354 (interactive "P") 354 (interactive (list (if current-prefix-arg 'full)))
355 (or (and fill-paragraph-function 355 (or (and fill-paragraph-function
356 (let ((function fill-paragraph-function) 356 (let ((function fill-paragraph-function)
357 fill-paragraph-function) 357 fill-paragraph-function)
@@ -380,7 +380,8 @@ hard newline, if `use-hard-newlines' is on).
380 380
381If `sentence-end-double-space' is non-nil, then period followed by one 381If `sentence-end-double-space' is non-nil, then period followed by one
382space does not end a sentence, so don't break a line there." 382space does not end a sentence, so don't break a line there."
383 (interactive "r\nP") 383 (interactive (list (region-beginning) (region-end)
384 (if current-prefix-arg 'full)))
384 (let (end beg) 385 (let (end beg)
385 (save-restriction 386 (save-restriction
386 (goto-char (max from to)) 387 (goto-char (max from to))
@@ -716,7 +717,8 @@ When calling from a program, pass range to fill as first two arguments.
716Optional third and fourth arguments JUSTIFY and MAIL-FLAG: 717Optional third and fourth arguments JUSTIFY and MAIL-FLAG:
717JUSTIFY to justify paragraphs (prefix arg), 718JUSTIFY to justify paragraphs (prefix arg),
718MAIL-FLAG for a mail message, i. e. don't fill header lines." 719MAIL-FLAG for a mail message, i. e. don't fill header lines."
719 (interactive "r\nP") 720 (interactive (list (region-beginning) (region-end)
721 (if current-prefix-arg 'full)))
720 (let ((fill-individual-varying-indent t)) 722 (let ((fill-individual-varying-indent t))
721 (fill-individual-paragraphs min max justifyp mailp))) 723 (fill-individual-paragraphs min max justifyp mailp)))
722 724
@@ -731,7 +733,8 @@ When calling from a program, pass range to fill as first two arguments.
731Optional third and fourth arguments JUSTIFY and MAIL-FLAG: 733Optional third and fourth arguments JUSTIFY and MAIL-FLAG:
732JUSTIFY to justify paragraphs (prefix arg), 734JUSTIFY to justify paragraphs (prefix arg),
733MAIL-FLAG for a mail message, i. e. don't fill header lines." 735MAIL-FLAG for a mail message, i. e. don't fill header lines."
734 (interactive "r\nP") 736 (interactive (list (region-beginning) (region-end)
737 (if current-prefix-arg 'full)))
735 (save-restriction 738 (save-restriction
736 (save-excursion 739 (save-excursion
737 (goto-char min) 740 (goto-char min)