anchor.diff:       (:a :class "button"
            :href (lisp-url '(nyxt/macro-edit-mode::save-macro)) "Save macro"))))
   
  -(defun render-functions (macro-editor)
  +(defmethod render-functions ((macro-editor macro-edit-mode))
     (flet ((render-functions ()
              (markup:markup
               (:table
                (loop for key being the hash-keys of (functions macro-editor)
                      using (hash-value value)
                      collect (markup:markup
  -                            (:tr (:td (:a :class "button" :href "xyz" "✕"))
  -                                 (:td (:a :class "button" :href "xyz" "🛈"))
  +                            (:tr (:td (:a :class "button"
  +                                          :href (lisp-url `(nyxt/macro-edit-mode::remove-function
  +                                                            (current-mode 'macro-edit-mode)
  +                                                            ,key))
  +                                          "✕"))
  +                                 (:td (:a :class "button"
  +                                          :href (lisp-url `(nyxt/macro-edit-mode::command-help
  +                                                            (current-mode 'macro-edit-mode)
  +                                                            ,key))
  +                                          "🛈"))
                                    (:td (symbol-name (name value))))))))))
       (ffi-buffer-evaluate-javascript-async
        (buffer macro-editor)
  
positive.code:              (ps:lisp
                (render-functions)))))))
  
  (define-command add-command (&optional (macro-editor (current-mode 'macro-edit-mode)))
    "Add a command to the macro."
    (let ((command 
  
negative.code:            (prompt
              :prompt "Describe command"
              :sources (make-instance 'user-command-source)))))
      (add-function macro-editor command)))
  
  (define-command save-macro (&optional (macro-editor (current-mode 'macro-edit-mode)))
    "Save the macro to the auto-config.lisp file."
  