vl-prin1-to-string


(vl-prin1-to-string lspObject)

This function returns lspObject converted into a string, using (prin1) logic.

Arguments

lspObject  (any Lisp value or expression) the Lisp data to be converted

Return

(string) the representation of lspObject as a string

Example

(setq lst '(1 2.0 "a"))  (1 2.0 "a")
(vl-prin1-to-string lst)  "(1 2.0 \"a\")"

Remarks

this function uses same conversion rules as (prin1) function
see (vl-princ-to-string) function



©  Bricsys NV. All rights reserved.