changeset 24463:9ef31386cb47

(html-mode): Use sentence-end-double-space when setting sentence-end.
author Dave Love <fx@gnu.org>
date Tue, 09 Mar 1999 19:24:33 +0000
parents 9c3beaed253e
children 930074eb767f
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Tue Mar 09 19:20:59 1999 +0000
+++ b/lisp/textmodes/sgml-mode.el	Tue Mar 09 19:24:33 1999 +0000
@@ -1197,7 +1197,10 @@
   (make-local-variable 'outline-level)
   (make-local-variable 'sentence-end)
   (setq sentence-end
-	"[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| $\\|\t\\|  \\)[ \t\n]*")
+	(if sentence-end-double-space
+	    "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| $\\|\t\\|  \\)[ \t\n]*"
+	    
+	  "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| \\|\t\\)[ \t\n]*"))
   (setq sgml-tag-alist html-tag-alist
 	sgml-face-tag-alist html-face-tag-alist
 	sgml-tag-help html-tag-help