Function: gnus-summary-print-truncate-and-quote

gnus-summary-print-truncate-and-quote is a byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-summary-print-truncate-and-quote STRING &optional LEN)

Documentation

Truncate to LEN and quote all "("'s in STRING.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-print-truncate-and-quote (string &optional len)
  "Truncate to LEN and quote all \"(\"'s in STRING."
  (replace-regexp-in-string "[()]" "\\\\\\&"
			    (if (and len (> (length string) len))
				(substring string 0 len)
			      string)))