Mercurial > emacs
comparison lisp/textmodes/fill.el @ 10988:d8acd5b8cf63
(adaptive-fill-regexp): Skip #'s and ;'s.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 13 Mar 1995 06:26:39 +0000 |
parents | 7f9e55cdc349 |
children | f4693d66f90c |
comparison
equal
deleted
inserted
replaced
10987:1c47aad4c1c7 | 10988:d8acd5b8cf63 |
---|---|
55 (message "fill-prefix cancelled"))) | 55 (message "fill-prefix cancelled"))) |
56 | 56 |
57 (defconst adaptive-fill-mode t | 57 (defconst adaptive-fill-mode t |
58 "*Non-nil means determine a paragraph's fill prefix from its text.") | 58 "*Non-nil means determine a paragraph's fill prefix from its text.") |
59 | 59 |
60 (defconst adaptive-fill-regexp "[ \t]*\\([>*] +\\)?" | 60 (defconst adaptive-fill-regexp "[ \t]*\\([#;>*] +\\)?" |
61 "*Regexp to match text at start of line that constitutes indentation. | 61 "*Regexp to match text at start of line that constitutes indentation. |
62 If Adaptive Fill mode is enabled, whatever text matches this pattern | 62 If Adaptive Fill mode is enabled, whatever text matches this pattern |
63 on the second line of a paragraph is used as the standard indentation | 63 on the second line of a paragraph is used as the standard indentation |
64 for the paragraph.") | 64 for the paragraph.") |
65 | 65 |