]> git.eshelyaron.com Git - emacs.git/commitdiff
paragraphs: recognise more Unicode characters as end of sentence
authorMichal Nazarewicz <mina86@mina86.com>
Mon, 27 Oct 2014 16:14:38 +0000 (17:14 +0100)
committerMichal Nazarewicz <mina86@mina86.com>
Tue, 20 Jan 2015 13:38:38 +0000 (14:38 +0100)
* 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.

lisp/ChangeLog
lisp/textmodes/paragraphs.el

index 35b08b0f1deeada9bb7306db9c9fe9bab63a2fce..d3bfafdf721735a0109e706e6cd188517a35eea4 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
+
+       * 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.
+
 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
 
        * textmodes/tildify.el (tildify-double-space-undos): A new
index b18a93cd3e686763d21ea8795f4c1169acd0a3b0..09451a6b1978fae18c231b77ea08ae8456a7e897 100644 (file)
@@ -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