aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2006-01-17 00:53:03 +0000
committerJuri Linkov2006-01-17 00:53:03 +0000
commit3d6ce9c2a70bc81ea856dfd906adc82874316445 (patch)
tree3b83e281f983ea18ef854df6b434686078a8954c
parentcfc1ba0f618c53aff30c311ea1adcff76ff7ad92 (diff)
downloademacs-3d6ce9c2a70bc81ea856dfd906adc82874316445.tar.gz
emacs-3d6ce9c2a70bc81ea856dfd906adc82874316445.zip
Add `coding: iso-2022-7bit' cookie.
(html-mode): Set `sentence-end-base' instead of `sentence-end'.
-rw-r--r--lisp/textmodes/sgml-mode.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 79e41cecfc1..77f625b8456 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -1,4 +1,4 @@
1;;; sgml-mode.el --- SGML- and HTML-editing modes 1;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: iso-2022-7bit -*-
2 2
3;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005 Free Software Foundation, Inc.
@@ -1828,12 +1828,9 @@ To work around that, do:
1828 (make-local-variable 'outline-regexp) 1828 (make-local-variable 'outline-regexp)
1829 (make-local-variable 'outline-heading-end-regexp) 1829 (make-local-variable 'outline-heading-end-regexp)
1830 (make-local-variable 'outline-level) 1830 (make-local-variable 'outline-level)
1831 (make-local-variable 'sentence-end) 1831 (make-local-variable 'sentence-end-base)
1832 (setq sentence-end 1832 (setq sentence-end-base "[.?!][]\"'$B!I$,1r}(B)}]*\\(<[^>]*>\\)*"
1833 (if sentence-end-double-space 1833 sgml-tag-alist html-tag-alist
1834 "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| $\\|\t\\| \\)[ \t\n]*"
1835 "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\|[ \t]\\)[ \t\n]*"))
1836 (setq sgml-tag-alist html-tag-alist
1837 sgml-face-tag-alist html-face-tag-alist 1834 sgml-face-tag-alist html-face-tag-alist
1838 sgml-tag-help html-tag-help 1835 sgml-tag-help html-tag-help
1839 outline-regexp "^.*<[Hh][1-6]\\>" 1836 outline-regexp "^.*<[Hh][1-6]\\>"