Function: eudc-print-record-field
eudc-print-record-field is a byte-compiled function defined in
eudc.el.gz.
Signature
(eudc-print-record-field FIELD COLUMN-WIDTH)
Documentation
Print the record field FIELD.
FIELD is a list (ATTR VALUE1 VALUE2 ...) or cons-cell (ATTR . VAL) COLUMN-WIDTH is the width of the first display column containing the attribute name ATTR.
Source Code
;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-print-record-field (field column-width)
"Print the record field FIELD.
FIELD is a list (ATTR VALUE1 VALUE2 ...) or cons-cell (ATTR . VAL)
COLUMN-WIDTH is the width of the first display column containing the
attribute name ATTR."
(let ((field-beg (point)))
;; The record field that is passed to this function has already been processed
;; by `eudc-format-attribute-name-for-display' so we don't need to call it
;; again to display the attribute name
(insert (format (concat "%" (int-to-string column-width) "s: ")
(car field)))
(put-text-property field-beg (point) 'face 'bold)
(indent-to (+ 2 column-width))
(eudc-print-attribute-value field)))