Include EN DASH as an indentation character

* textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
indentation character.

Fixes: debbugs:6380
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-16 22:05:54 +02:00
parent 67f9b9f8b0
commit 81746738bb
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
indentation character (bug#6380).
* files.el (buffer-offer-save): Made permanently local (bug#6241).
* doc-view.el (doc-view-make-safe-dir): Rewrite the error message

View file

@ -93,7 +93,7 @@ reinserts the fill prefix in each resulting line."
;; Added `!' for doxygen comments starting with `//!' or `/*!'.
;; Added `%' for TeX comments.
;; RMS: deleted the code to match `1.' and `(1)'.
(purecopy "[ \t]*\\([-!|#%;>*·•‣⁃◦]+[ \t]*\\)*")
(purecopy "[ \t]*\\([-!|#%;>*·•‣⁃◦]+[ \t]*\\)*")
"Regexp to match text at start of line that constitutes indentation.
If Adaptive Fill mode is enabled, a prefix matching this pattern
on the first and second lines of a paragraph is used as the