diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-16 22:05:54 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-16 22:05:54 +0200 |
commit | 81746738bbd5e36291e684c74ffef08e43405b10 (patch) | |
tree | e8dada829a1b33d2b4a832054d17d2bfd01c1dc8 | |
parent | 67f9b9f8b0794d8bfd279190794abf75aedddda4 (diff) | |
download | emacs-81746738bbd5e36291e684c74ffef08e43405b10.tar.gz |
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/ChangeLog | 3 | ||||
-rw-r--r-- | lisp/textmodes/fill.el | 2 |
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 @@ 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 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 |