Function: cl-prin1-to-string
cl-prin1-to-string is an autoloaded and byte-compiled function defined
in cl-print.el.gz.
Signature
(cl-prin1-to-string OBJECT)
Documentation
Return a string containing the cl-prin1-printed representation of OBJECT.
Probably introduced at or before Emacs version 26.1.
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-print.el.gz
;;;###autoload
(defun cl-prin1-to-string (object)
"Return a string containing the `cl-prin1'-printed representation of OBJECT."
(with-temp-buffer
(cl-prin1 object (current-buffer))
(buffer-string)))