From 81746738bbd5e36291e684c74ffef08e43405b10 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sat, 16 Jul 2011 22:05:54 +0200 Subject: [PATCH] Include EN DASH as an indentation character * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an indentation character. Fixes: debbugs:6380 --- lisp/ChangeLog | 3 +++ lisp/textmodes/fill.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a6b66ca2678..186917010ab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-16 Lars Magne Ingebrigtsen + * 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 diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index b264cc30850..52f6e5b4889 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -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 -- 2.39.2