(sentence-end-without-space): Delete duplicated chars.
(sentence-end-base): Likewise.
+ * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
+ (html-mode): Delete duplicated chars from sentence-end-base.
+
+ * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
+ (texinfo-mode): Delete duplicated chars from sentence-end-base.
+
2009-08-17 Chong Yidong <cyd@stupidchicken.com>
* files.el (hack-one-local-variable): If the mode function is for
-;;; texinfo.el --- major mode for editing Texinfo files -*- coding: iso-2022-7bit -*-
+;;; texinfo.el --- major mode for editing Texinfo files -*- coding: utf-8 -*-
;; Copyright (C) 1985, 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1997,
;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
(setq paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-start))
(make-local-variable 'sentence-end-base)
(setq sentence-end-base
- "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'\e$B!I\e$,1r}\e(B)}]*")
+ "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'”)}]*")
(make-local-variable 'adaptive-fill-mode)
(setq adaptive-fill-mode nil)
(make-local-variable 'fill-column)