Skip to content

Commit

Permalink
Include EN DASH as an indentation character
Browse files Browse the repository at this point in the history
* textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
indentation character.

Fixes: debbugs:6380
  • Loading branch information
larsmagne committed Jul 16, 2011
1 parent 67f9b9f commit 8174673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions 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
Expand Down
2 changes: 1 addition & 1 deletion lisp/textmodes/fill.el
Expand Up @@ -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
Expand Down

0 comments on commit 8174673

Please sign in to comment.