diff options
| author | Richard M. Stallman | 1995-04-14 18:33:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-14 18:33:44 +0000 |
| commit | f344058994facf0c7f9f7e58c1d33e4b7f5145a8 (patch) | |
| tree | eceb29772dc242eb890821506db08e31ecdef1c4 | |
| parent | 8f1e2d16d676d45146f5d2057370c4f058cf95cd (diff) | |
| download | emacs-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.el | 11 |
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 | ||
| 352 | If `fill-paragraph-function' is non-nil, we call it (passing our | 352 | If `fill-paragraph-function' is non-nil, we call it (passing our |
| 353 | argument to it), and if it returns non-nil, we simply return its value." | 353 | argument 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 | ||
| 381 | If `sentence-end-double-space' is non-nil, then period followed by one | 381 | If `sentence-end-double-space' is non-nil, then period followed by one |
| 382 | space does not end a sentence, so don't break a line there." | 382 | space 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. | |||
| 716 | Optional third and fourth arguments JUSTIFY and MAIL-FLAG: | 717 | Optional third and fourth arguments JUSTIFY and MAIL-FLAG: |
| 717 | JUSTIFY to justify paragraphs (prefix arg), | 718 | JUSTIFY to justify paragraphs (prefix arg), |
| 718 | MAIL-FLAG for a mail message, i. e. don't fill header lines." | 719 | MAIL-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. | |||
| 731 | Optional third and fourth arguments JUSTIFY and MAIL-FLAG: | 733 | Optional third and fourth arguments JUSTIFY and MAIL-FLAG: |
| 732 | JUSTIFY to justify paragraphs (prefix arg), | 734 | JUSTIFY to justify paragraphs (prefix arg), |
| 733 | MAIL-FLAG for a mail message, i. e. don't fill header lines." | 735 | MAIL-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) |