Function: sc-hdr

sc-hdr is a byte-compiled function defined in supercite.el.gz.

Signature

(sc-hdr PREFIX FIELD &optional SEP RETURN-NIL-P)

Documentation

Return a concatenation of PREFIX and FIELD.

If FIELD is not a string or is the empty string, the empty string will be returned. Optional third argument SEP is concatenated on the end if it is a string. Returns empty string, unless optional RETURN-NIL-P is non-nil.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/supercite.el.gz
;; ======================================================================
;; building headers

(defun sc-hdr (prefix field &optional sep return-nil-p)
  "Return a concatenation of PREFIX and FIELD.
If FIELD is not a string or is the empty string, the empty string will
be returned.  Optional third argument SEP is concatenated on the end if
it is a string.  Returns empty string, unless optional RETURN-NIL-P is
non-nil."
  (if (and (stringp field)
	   (not (string= field "")))
      (concat prefix field (or sep ""))
    (and (not return-nil-p) "")))