summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-03-13 06:31:48 +0000
committerRichard M. Stallman <rms@gnu.org>1995-03-13 06:31:48 +0000
commit25a8d958d19eb812ec50225a1134ee1e98f33a8d (patch)
tree1db77f9b094d48dd584f299fc45b1550ff352b7d /lisp/textmodes
parent845681f650b2973740e7cf4f61ae4dca00e42c09 (diff)
downloademacs-25a8d958d19eb812ec50225a1134ee1e98f33a8d.tar.gz
(adaptive-fill-regexp): Skip # or ;.
Allow more than one of them (or *'s or >'s).
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/fill.el2
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."
(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