diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b757200c9e2..cc083c22aae 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -4,6 +4,12 @@ | |||
| 4 | (sentence-end-without-space): Delete duplicated chars. | 4 | (sentence-end-without-space): Delete duplicated chars. |
| 5 | (sentence-end-base): Likewise. | 5 | (sentence-end-base): Likewise. |
| 6 | 6 | ||
| 7 | * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie. | ||
| 8 | (html-mode): Delete duplicated chars from sentence-end-base. | ||
| 9 | |||
| 10 | * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie. | ||
| 11 | (texinfo-mode): Delete duplicated chars from sentence-end-base. | ||
| 12 | |||
| 7 | 2009-08-17 Chong Yidong <cyd@stupidchicken.com> | 13 | 2009-08-17 Chong Yidong <cyd@stupidchicken.com> |
| 8 | 14 | ||
| 9 | * files.el (hack-one-local-variable): If the mode function is for | 15 | * files.el (hack-one-local-variable): If the mode function is for |
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 04458461103..b936c45b50c 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; texinfo.el --- major mode for editing Texinfo files -*- coding: iso-2022-7bit -*- | 1 | ;;; texinfo.el --- major mode for editing Texinfo files -*- coding: utf-8 -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1997, | 3 | ;; Copyright (C) 1985, 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1997, |
| 4 | ;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| @@ -584,7 +584,7 @@ value of `texinfo-mode-hook'." | |||
| 584 | (setq paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-start)) | 584 | (setq paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-start)) |
| 585 | (make-local-variable 'sentence-end-base) | 585 | (make-local-variable 'sentence-end-base) |
| 586 | (setq sentence-end-base | 586 | (setq sentence-end-base |
| 587 | "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'$B!I$,1r}(B)}]*") | 587 | "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'”)}]*") |
| 588 | (make-local-variable 'adaptive-fill-mode) | 588 | (make-local-variable 'adaptive-fill-mode) |
| 589 | (setq adaptive-fill-mode nil) | 589 | (setq adaptive-fill-mode nil) |
| 590 | (make-local-variable 'fill-column) | 590 | (make-local-variable 'fill-column) |