bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18852: [PATCH] * lisp/textmodes/paragraphs.el (sentence-end-base): i


From: Michal Nazarewicz
Subject: bug#18852: [PATCH] * lisp/textmodes/paragraphs.el (sentence-end-base): include more Unicode characters, in particular ellipsis (…) and interrobang can end a sentence, and single quote (’) can end a quote.
Date: Mon, 27 Oct 2014 17:18:10 +0100

---
 lisp/textmodes/paragraphs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index 3e77d37..1dc1a66 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
-- 
2.1.0.rc2.206.gedb03e5






reply via email to

[Prev in Thread] Current Thread [Next in Thread]