From bb66398d919f8014bfd0f4732e6f276eec5c13f3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 21 Oct 2005 18:58:08 +0000 Subject: [PATCH] (texinfo-mode): Set sentence-end-base. --- lisp/ChangeLog | 7 +++++++ lisp/textmodes/texinfo.el | 3 +++ 2 files changed, 10 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2a83266af32..185c9ec9438 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2005-10-21 Richard M. Stallman + + * 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 * font-lock.el (font-lock-default-fontify-region): Check the multiline diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index a0dec653165..3507f6e57cf 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el @@ -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) -- 2.39.5