diff options
| author | Lars Magne Ingebrigtsen | 2011-07-16 22:05:54 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-16 22:05:54 +0200 |
| commit | 81746738bbd5e36291e684c74ffef08e43405b10 (patch) | |
| tree | e8dada829a1b33d2b4a832054d17d2bfd01c1dc8 | |
| parent | 67f9b9f8b0794d8bfd279190794abf75aedddda4 (diff) | |
| download | emacs-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/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 @@ | |||
| 1 | 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2011-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. |
| 98 | If Adaptive Fill mode is enabled, a prefix matching this pattern | 98 | If Adaptive Fill mode is enabled, a prefix matching this pattern |
| 99 | on the first and second lines of a paragraph is used as the | 99 | on the first and second lines of a paragraph is used as the |