Macro: DEF-ATTRIBUTE-HANDLER

Documentation

Defines a new attribute handler name ATTRIBUTE.

Source

(defmacro def-attribute-handler (attribute (tag) &body body)
  "Defines a new attribute handler name ATTRIBUTE."
  `(progn
     (push (cons ',attribute (lambda (,tag) ,@body))
           *tal-attribute-handlers*)
     ',attribute))
Source Context