# HG changeset patch # User Richard M. Stallman # Date 870987117 0 # Node ID 4a2dbee243f979c54a70a38085cc69b29b784148 # Parent 67d2c89a660c922e514bc2f75edac079bed6c82b (fill-context-prefix): Accept a whitespace prefix from the second line, regardless of the first line. diff -r 67d2c89a660c -r 4a2dbee243f9 lisp/textmodes/fill.el --- a/lisp/textmodes/fill.el Thu Aug 07 18:54:49 1997 +0000 +++ b/lisp/textmodes/fill.el Thu Aug 07 20:51:57 1997 +0000 @@ -210,13 +210,13 @@ ;; If we get a fill prefix from the second line, ;; make sure it or something compatible is on the first line too. (and second-line-prefix first-line-prefix + ;; If the first line has the second line prefix too, use it. (if (or (string-match (concat "\\`" (regexp-quote second-line-prefix) "\\(\\'\\|[ \t]\\)") first-line-prefix) - (and (string-match "\\`[ \t]+\\'" second-line-prefix) - (>= (string-width first-line-prefix) - (string-width second-line-prefix)))) + ;; If the second line prefix is whitespace, use it. + (string-match "\\`[ \t]+\\'" second-line-prefix)) second-line-prefix)) ;; If we get a fill prefix from a one-line paragraph, ;; maybe change it to whitespace,