diff options
| author | Richard M. Stallman | 1995-03-13 06:31:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-13 06:31:48 +0000 |
| commit | 25a8d958d19eb812ec50225a1134ee1e98f33a8d (patch) | |
| tree | 1db77f9b094d48dd584f299fc45b1550ff352b7d | |
| parent | 845681f650b2973740e7cf4f61ae4dca00e42c09 (diff) | |
| download | emacs-25a8d958d19eb812ec50225a1134ee1e98f33a8d.tar.gz emacs-25a8d958d19eb812ec50225a1134ee1e98f33a8d.zip | |
(adaptive-fill-regexp): Skip # or ;.
Allow more than one of them (or *'s or >'s).
| -rw-r--r-- | lisp/textmodes/fill.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 40ea5a706bd..00267fdae79 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -57,7 +57,7 @@ reinserts the fill prefix in each resulting line." | |||
| 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 |