summary refs log tree commit diff
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-11-13 00:16:20 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-11-13 00:16:20 +0900
commitff85c8b1c99bd655a64564fc8beba3167d229c23 (patch)
tree097a89eb2b7b325bc236728640cc92aa8e2e3414
parentd814071b1420418a3243642a5cdeb3946e7d1939 (diff)
downloadzsh-ff85c8b1c99bd655a64564fc8beba3167d229c23.tar.gz
zsh-ff85c8b1c99bd655a64564fc8beba3167d229c23.tar.xz
zsh-ff85c8b1c99bd655a64564fc8beba3167d229c23.zip
37090: correctly handle blank lines in yodl macro example()
-rw-r--r--ChangeLog5
-rw-r--r--Doc/zman.yo2
-rw-r--r--Doc/ztexi.yo2
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5397c6c51..3fd4d9908 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-13  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+	* 37090: Doc/zman.yo, Doc/ztexi.yo: handle blank lines correctly
+	in yodl macro example()
+
 2015-11-12  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 37096: Src/subst.c, Test/D04parameter.ztst: make top-level
diff --git a/Doc/zman.yo b/Doc/zman.yo
index 73cc186e0..5050edb8b 100644
--- a/Doc/zman.yo
+++ b/Doc/zman.yo
@@ -174,9 +174,11 @@ def(itemiz)(1)(\
 COMMENT(--- special effects ---)
 
 def(example)(1)(\
+  undef(PARAGRAPH)\
   NOTRANS(.RS)+NL()NOTRANS(.nf)+NL()\
   NOTRANS(\fB)ARG1+NOTRANS(\fP)\
   +NL()NOTRANS(.fi)+NL()NOTRANS(.RE)\
+  STDPAR()\
 )
 
 def(nofill)(1)(\
diff --git a/Doc/ztexi.yo b/Doc/ztexi.yo
index 699567724..e8783459e 100644
--- a/Doc/ztexi.yo
+++ b/Doc/ztexi.yo
@@ -225,9 +225,11 @@ def(nofill)(1)(\
 )
 
 def(example)(1)(\
+  undef(PARAGRAPH)\
   NOTRANS(@example)+NL()\
   ARG1\
   +NL()NOTRANS(@end example)\
+  STDPAR()\
 )
 
 def(indent)(1)(\