Function: projectile-session--readable-p
projectile-session--readable-p is a byte-compiled function defined in
projectile.el.
Signature
(projectile-session--readable-p OBJECT)
Documentation
Return non-nil when OBJECT survives a prin1/read round-trip.
Guards against a custom serializer returning a record that embeds a live
object (buffer, marker, window) which can't be read back. Binds
print-circle so shared or circular structure prints, and reads, finitely
rather than hanging.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-session--readable-p (object)
"Return non-nil when OBJECT survives a `prin1'/`read' round-trip.
Guards against a custom serializer returning a record that embeds a live
object (buffer, marker, window) which can't be read back. Binds
`print-circle' so shared or circular structure prints, and reads, finitely
rather than hanging."
(ignore-errors
(let ((print-circle t))
(read (prin1-to-string object))
t)))