Function: widget-princ-to-string

widget-princ-to-string is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-princ-to-string OBJECT)

Documentation

Return string representation of OBJECT, any Lisp object.

No quoting characters are used; no delimiters are printed around the contents of strings.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
;;; This causes display-table to be loaded, and not usefully.
;;;(defvar widget-single-line-display-table
;;;  (let ((table (make-display-table)))
;;;    (aset table 9  "^I")
;;;    (aset table 10 "^J")
;;;    table)
;;;  "Display table used for single-line editable fields.")

;;;(when (fboundp 'set-face-display-table)
;;;  (set-face-display-table 'widget-single-line-field-face
;;;			  widget-single-line-display-table))

;;; Utility functions.
;;
;; These are not really widget specific.

(defun widget-princ-to-string (object)
  "Return string representation of OBJECT, any Lisp object.
No quoting characters are used; no delimiters are printed around
the contents of strings."
  (with-output-to-string
      (princ object)))