Commit 25a8d958 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(adaptive-fill-regexp): Skip # or ;.

Allow more than one of them (or *'s or >'s).
parent 845681f6
......@@ -57,7 +57,7 @@ reinserts the fill prefix in each resulting line."
(defconst adaptive-fill-mode t
"*Non-nil means determine a paragraph's fill prefix from its text.")
(defconst adaptive-fill-regexp "[ \t]*\\([#;>*] +\\)?"
(defconst adaptive-fill-regexp "[ \t]*\\([#;>*]+ +\\)?"
"*Regexp to match text at start of line that constitutes indentation.
If Adaptive Fill mode is enabled, whatever text matches this pattern
on the second line of a paragraph is used as the standard indentation
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment