Function: ewoc-set-hf

ewoc-set-hf is a byte-compiled function defined in ewoc.el.gz.

Signature

(ewoc-set-hf EWOC HEADER FOOTER)

Documentation

Set the HEADER and FOOTER of EWOC.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ewoc.el.gz
(defun ewoc-set-hf (ewoc header footer)
  "Set the HEADER and FOOTER of EWOC."
  (ewoc--set-buffer-bind-dll-let* ewoc
      ((head (ewoc--header ewoc))
       (foot (ewoc--footer ewoc))
       (hf-pp (ewoc--hf-pp ewoc)))
    (setf (ewoc--node-data head) header
          (ewoc--node-data foot) footer)
    (ewoc--refresh-node hf-pp head dll)
    (ewoc--refresh-node hf-pp foot dll)))