From 20809841dfad9891b73c0400bd7dd254cf08f5da Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sat, 13 Aug 2005 05:05:41 +0000 Subject: [PATCH] muse-mode: Minor regexp tweak. * lisp/muse-mode.el (muse-mode): Use \\s- instead of [[:blank:]]. git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-200 --- ChangeLog | 13 +++++++++++++ lisp/muse-mode.el | 10 +++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4db0c31..0c3028d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,19 @@ # arch-tag: automatic-ChangeLog--mwolson@gnu.org--2005/muse--main--1.0 # +2005-08-13 05:05:41 GMT Michael Olson patch-200 + + Summary: + muse-mode: Minor regexp tweak. + Revision: + muse--main--1.0--patch-200 + + * lisp/muse-mode.el (muse-mode): Use \\s- instead of [[:blank:]]. + + modified files: + ChangeLog lisp/muse-mode.el + + 2005-08-13 00:25:54 GMT Michael Olson patch-199 Summary: diff --git a/lisp/muse-mode.el b/lisp/muse-mode.el index 260096a..12a6f36 100644 --- a/lisp/muse-mode.el +++ b/lisp/muse-mode.el @@ -171,14 +171,10 @@ so only enable this if you don't use either of these." 'muse-mode-fill-nobreak-p))) ;; Make fill work nicely with item lists (set (make-local-variable 'adaptive-fill-regexp) - (concat "[" muse-regexp-blank "]+\\(-\\|[0-9]+\\.\\)[" - muse-regexp-blank "]+\\|\\[[0-9]+\\][" - muse-regexp-blank "]*\\|[" - muse-regexp-blank "]*")) + "\\s-+\\(-\\|[0-9]+\\.\\)\\s-+\\|\\[[0-9]+\\]\\s-*\\|\\s-*") (set (make-local-variable 'paragraph-start) - (concat paragraph-start "\\|[" muse-regexp-blank - "]+\\(-\\|[0-9]+\\.\\)[" muse-regexp-blank - "]+\\|\\[[0-9]+\\][" muse-regexp-blank "]*")) + (concat paragraph-start "\\|\\s-+\\(-\\|[0-9]+\\.\\)\\s-+" + "\\|\\[[0-9]+\\]\\s-*")) (when (featurep 'pcomplete) ;; If pcomplete is available, set it up (set (make-local-variable 'pcomplete-default-completion-function) -- 2.11.4.GIT