diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-10-27 17:14:38 +0100 |
---|---|---|
committer | Michal Nazarewicz <mina86@mina86.com> | 2015-01-20 14:38:38 +0100 |
commit | 11e161f54de5009c4ccba3a3d7bcc86850d5b2b2 (patch) | |
tree | 63d9d9218c0e0f8a8773fede82c45afd08461fad /lisp/textmodes/paragraphs.el | |
parent | 6ffb560b2a940d19419ac5afe11418588ef8c61f (diff) | |
download | emacs-11e161f54de5009c4ccba3a3d7bcc86850d5b2b2.tar.gz emacs-11e161f54de5009c4ccba3a3d7bcc86850d5b2b2.tar.bz2 emacs-11e161f54de5009c4ccba3a3d7bcc86850d5b2b2.zip |
paragraphs: recognise more Unicode characters as end of sentence
* lisp/textmodes/paragraphs.el (sentence-end-base): Include an
ellipsis (…) and interrobang (‽) characters as end of a sentence,
and a closing single quote (’) as an end of a quote.
Diffstat (limited to 'lisp/textmodes/paragraphs.el')
-rw-r--r-- | lisp/textmodes/paragraphs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index b18a93cd3e6..09451a6b197 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -168,7 +168,7 @@ to obtain the value of this variable." :type '(choice regexp (const :tag "Use default value" nil))) (put 'sentence-end 'safe-local-variable 'string-or-null-p) -(defcustom sentence-end-base "[.?!][]\"'”)}]*" +(defcustom sentence-end-base "[.?!…‽][]\"'”’)}]*" "Regexp matching the basic end of a sentence, not including following space." :group 'paragraphs :type 'string |