summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-03-13 06:26:39 +0000
committerRichard M. Stallman <rms@gnu.org>1995-03-13 06:26:39 +0000
commit845681f650b2973740e7cf4f61ae4dca00e42c09 (patch)
tree17168cff502ea78675d1da1cdbcfaedc4f941c97 /lisp/textmodes
parent7d21d421d0fbe9023ff8e51c55d9aaecdae7fc7e (diff)
downloademacs-845681f650b2973740e7cf4f61ae4dca00e42c09.tar.gz
(adaptive-fill-regexp): Skip #'s and ;'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 0e9f62feb3b..40ea5a706bd 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