changeset 104325:c730723a8c88

Change to utf-8. Adjust coding cookie. (html-mode): Delete duplicated chars from sentence-end-base.
author Kenichi Handa <handa@m17n.org>
date Tue, 18 Aug 2009 01:19:31 +0000
parents 1976ea1907a9
children 11a923a76fc4
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Tue Aug 18 01:17:51 2009 +0000
+++ b/lisp/textmodes/sgml-mode.el	Tue Aug 18 01:19:31 2009 +0000
@@ -1,4 +1,4 @@
-;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: iso-2022-7bit -*-
+;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: utf-8 -*-
 
 ;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004,
 ;;   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -1944,7 +1944,7 @@
   (make-local-variable 'outline-heading-end-regexp)
   (make-local-variable 'outline-level)
   (make-local-variable 'sentence-end-base)
-  (setq sentence-end-base "[.?!][]\"'$B!I$,1r}(B)}]*\\(<[^>]*>\\)*"
+  (setq sentence-end-base "[.?!][]\"'”)}]*\\(<[^>]*>\\)*"
 	sgml-tag-alist html-tag-alist
 	sgml-face-tag-alist html-face-tag-alist
 	sgml-tag-help html-tag-help