aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-16 22:05:54 +0200
committerLars Magne Ingebrigtsen2011-07-16 22:05:54 +0200
commit81746738bbd5e36291e684c74ffef08e43405b10 (patch)
treee8dada829a1b33d2b4a832054d17d2bfd01c1dc8
parent67f9b9f8b0794d8bfd279190794abf75aedddda4 (diff)
downloademacs-81746738bbd5e36291e684c74ffef08e43405b10.tar.gz
emacs-81746738bbd5e36291e684c74ffef08e43405b10.zip
Include EN DASH as an indentation character
* textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an indentation character. Fixes: debbugs:6380
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/textmodes/fill.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a6b66ca2678..186917010ab 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4 indentation character (bug#6380).
5
3 * files.el (buffer-offer-save): Made permanently local (bug#6241). 6 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4 7
5 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message 8 * 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."
93 ;; Added `!' for doxygen comments starting with `//!' or `/*!'. 93 ;; Added `!' for doxygen comments starting with `//!' or `/*!'.
94 ;; Added `%' for TeX comments. 94 ;; Added `%' for TeX comments.
95 ;; RMS: deleted the code to match `1.' and `(1)'. 95 ;; RMS: deleted the code to match `1.' and `(1)'.
96 (purecopy "[ \t]*\\([-!|#%;>*·•‣⁃◦]+[ \t]*\\)*") 96 (purecopy "[ \t]*\\([-!|#%;>*·•‣⁃◦]+[ \t]*\\)*")
97 "Regexp to match text at start of line that constitutes indentation. 97 "Regexp to match text at start of line that constitutes indentation.
98If Adaptive Fill mode is enabled, a prefix matching this pattern 98If Adaptive Fill mode is enabled, a prefix matching this pattern
99on the first and second lines of a paragraph is used as the 99on the first and second lines of a paragraph is used as the