aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-03-13 06:31:48 +0000
committerRichard M. Stallman1995-03-13 06:31:48 +0000
commit25a8d958d19eb812ec50225a1134ee1e98f33a8d (patch)
tree1db77f9b094d48dd584f299fc45b1550ff352b7d
parent845681f650b2973740e7cf4f61ae4dca00e42c09 (diff)
downloademacs-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.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."
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.
62If Adaptive Fill mode is enabled, whatever text matches this pattern 62If Adaptive Fill mode is enabled, whatever text matches this pattern
63on the second line of a paragraph is used as the standard indentation 63on the second line of a paragraph is used as the standard indentation