FUEL: fix vocabulary list tables.

db4
Jose A. Ortega Ruiz 2009-03-07 14:21:23 +01:00
parent 6a711861c6
commit 42fc636abc
2 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ SYMBOL: $doc-path
] { } make 3array ;
: fuel-vocab-help-row ( vocab -- element )
[ drop "" ] [ vocab-name ] [ summary ] tri 3array ;
[ vocab-name ] [ summary ] bi 2array ;
: fuel-vocab-help-root-heading ( root -- element )
[ "Children from " prepend ] [ "Other children" ] if* \ $heading swap 2array ;

View File

@ -335,9 +335,8 @@
(defun fuel-markup--vocab-list (e)
(let ((rows (mapcar '(lambda (elem)
(list (car elem)
(list '$vocab-link (cadr elem))
(caddr elem)))
(list (list '$vocab-link (car elem))
(cadr elem)))
(cdr e))))
(fuel-markup--table (cons '$table rows))))