aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/paragraphs.el6
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 814370a6570..b757200c9e2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12009-08-18 Kenichi Handa <handa@m17n.org>
2
3 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
4 (sentence-end-without-space): Delete duplicated chars.
5 (sentence-end-base): Likewise.
6
12009-08-17 Chong Yidong <cyd@stupidchicken.com> 72009-08-17 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * files.el (hack-one-local-variable): If the mode function is for 9 * files.el (hack-one-local-variable): If the mode function is for
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index ca141c1b671..57222a6e4f4 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -141,7 +141,7 @@ regexp describing the end of a sentence, when the value of the variable
141(put 'sentence-end-without-period 'safe-local-variable 'booleanp) 141(put 'sentence-end-without-period 'safe-local-variable 'booleanp)
142 142
143(defcustom sentence-end-without-space 143(defcustom sentence-end-without-space
144 "$B!#!%!)!*$A!##.#?#!$(0!$!%!)!*$(G!$!%!)!*(B" 144 "。.?!"
145 "String of characters that end sentence without following spaces. 145 "String of characters that end sentence without following spaces.
146 146
147This value is used by the function `sentence-end' to construct the 147This value is used by the function `sentence-end' to construct the
@@ -163,7 +163,7 @@ to obtain the value of this variable."
163 :type '(choice regexp (const :tag "Use default value" nil))) 163 :type '(choice regexp (const :tag "Use default value" nil)))
164(put 'sentence-end 'safe-local-variable 'string-or-null-p) 164(put 'sentence-end 'safe-local-variable 'string-or-null-p)
165 165
166(defcustom sentence-end-base "[.?!][]\"'$B!I$,1r}(B)}]*" 166(defcustom sentence-end-base "[.?!][]\"')}]*"
167 "Regexp matching the basic end of a sentence, not including following space." 167 "Regexp matching the basic end of a sentence, not including following space."
168 :group 'paragraphs 168 :group 'paragraphs
169 :type 'string 169 :type 'string
@@ -514,7 +514,7 @@ ones already marked."
514 (transpose-subr 'forward-sentence arg)) 514 (transpose-subr 'forward-sentence arg))
515 515
516;; Local Variables: 516;; Local Variables:
517;; coding: iso-2022-7bit 517;; coding: utf-8
518;; End: 518;; End:
519 519
520;; arch-tag: e727eb1a-527a-4464-b9d7-9d3ec0d1a575 520;; arch-tag: e727eb1a-527a-4464-b9d7-9d3ec0d1a575