From 39e89d57de1b4f9a8ecc48b03f2fc514375e6f47 Mon Sep 17 00:00:00 2001 From: "Michael W. Olson" Date: Sun, 19 Aug 2007 10:59:41 -0400 Subject: [PATCH] docbook: Fix paragraph detection bug after tags * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug involving paragraphs after literallayout markup, which is used in tags. Thanks to Shunsuke OKANO for the report. --- ChangeLog | 4 ++++ lisp/muse-docbook.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 30b1b47..c6fe285 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ * examples/mwolson: Update my example settings. + * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug + involving paragraphs after literallayout markup, which is used in + tags. Thanks to Shunsuke OKANO for the report. + * lisp/muse-html.el (muse-html-src-tag): Use muse-delete-and-extract-region. diff --git a/lisp/muse-docbook.el b/lisp/muse-docbook.el index a25a104..7a8528c 100644 --- a/lisp/muse-docbook.el +++ b/lisp/muse-docbook.el @@ -221,7 +221,8 @@ found in `muse-docbook-encoding-map'." "<\\(/?\\)\\(para\\|footnote\\|literallayout\\)[ >]" nil t) (cond ((string= (match-string 2) "literallayout") - (throw 'bail-out t)) + (and (not (string= (match-string 1) "/")) + (throw 'bail-out t))) ((string= (match-string 2) "para") (and (not (string= (match-string 1) "/")) -- 2.11.4.GIT