]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-mode): Set sentence-end-base.
authorRichard M. Stallman <rms@gnu.org>
Fri, 21 Oct 2005 18:58:08 +0000 (18:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 21 Oct 2005 18:58:08 +0000 (18:58 +0000)
lisp/ChangeLog
lisp/textmodes/texinfo.el

index 2a83266af32ac8cac6f09b5256461d830261a173..185c9ec9438ce0d5e07fd70de046812f79bb700f 100644 (file)
@@ -1,3 +1,10 @@
+2005-10-21  Richard M. Stallman  <rms@gnu.org>
+
+       * textmodes/texinfo.el (texinfo-mode): Set sentence-end-base.
+
+       * textmodes/paragraphs.el (sentence-end-base): New variable.
+       (sentence-end): Use sentence-end-base.
+
 2005-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * font-lock.el (font-lock-default-fontify-region): Check the multiline
index a0dec65316528ac150bc45bc47f587f3afea1268..3507f6e57cfa0d0a1ba88b2e293466570fb9eb7c 100644 (file)
@@ -593,6 +593,9 @@ value of `texinfo-mode-hook'."
        (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-separate))
   (make-local-variable 'paragraph-start)
   (setq paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-start))
+  (make-local-variable 'sentence-end-base)
+  (setq sentence-end-base
+       "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'\xd0c9\x5397d)}]*")
   (make-local-variable 'adaptive-fill-mode)
   (setq adaptive-fill-mode nil)
   (make-local-variable 'fill-column)