Function: org-man--wrap-label

org-man--wrap-label is a byte-compiled function defined in ox-man.el.gz.

Signature

(org-man--wrap-label ELEMENT OUTPUT)

Documentation

Wrap label associated to ELEMENT around OUTPUT, if appropriate.

This function shouldn't be used for floats. See org-man--caption/label-string.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-man.el.gz
(defun org-man--wrap-label (element output)
  "Wrap label associated to ELEMENT around OUTPUT, if appropriate.
This function shouldn't be used for floats.  See
`org-man--caption/label-string'."
  (let ((label (org-element-property :name element)))
    (if (or (not output) (not label) (string= output "") (string= label ""))
        output
      (concat (format "%s\n.br\n" label) output))))