More control over automatic placement

This commit is contained in:
Mariano Montone 2023-02-07 14:47:15 -03:00
parent b0c94dd0b8
commit cf40a5149e

View file

@ -87,7 +87,10 @@ CLOG-OBJ. If HTML-ID is nil one will be generated."))
:clog-type clog-type
:html-id html-id)))
(if auto-place
(place-inside-bottom-of obj child)
(case auto-place
(:bottom (place-inside-bottom-of obj child))
(:top (place-inside-top-of obj child))
(t (place-inside-bottom-of obj child)))
child)))
;;;;;;;;;;;;;;;;;;;;;