Function: eudc-rfc5322-quote-phrase
eudc-rfc5322-quote-phrase is a byte-compiled function defined in
eudc.el.gz.
Signature
(eudc-rfc5322-quote-phrase STRING)
Documentation
Quote STRING if it needs quoting as a phrase in a header.
Source Code
;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-rfc5322-quote-phrase (string)
"Quote STRING if it needs quoting as a phrase in a header."
(if (string-match
(concat "[^" eudc-rfc5322-wsp-token eudc-rfc5322-atext-token "]")
string)
(concat "\"" string "\"")
string))