]> gitweb.factorcode.org Git - factor.git/commitdiff
fuel: help subsections now work again
authorPhil Dawes <phil@phildawes.net>
Wed, 14 Oct 2009 18:04:16 +0000 (19:04 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 14 Oct 2009 18:04:16 +0000 (19:04 +0100)
misc/fuel/fuel-markup.el

index cc788fe5dc5c864e4bd8f51792647e8f9679d1f2..b9095a39bb6531a21e4937d54d13f3f54b0d7a1c 100644 (file)
     ($strong . fuel-markup--strong)
     ($subheading . fuel-markup--subheading)
     ($subsection . fuel-markup--subsection)
+    ($subsections . fuel-markup--subsections)
     ($synopsis . fuel-markup--synopsis)
     ($syntax . fuel-markup--syntax)
     ($table . fuel-markup--table)
   (fuel-markup--link (cons '$link (cdr e)))
   (fuel-markup--maybe-nl))
 
+(defun fuel-markup--subsections (e)
+  (dolist (link (cdr e))
+    (fuel-markup--insert-nl-if-nb)
+    (insert "  - ")      
+    (fuel-markup--link (list '$link link))
+    (fuel-markup--maybe-nl)))
+
 (defun fuel-markup--vocab-subsection (e)
   (fuel-markup--insert-nl-if-nb)
   (insert "  - ")