minibuffer-history-sexp-flag
minibuffer-history-sexp-flag is a variable defined in `simple.el
'.
Its value is nilDocumentation: Control whether history list elements are expressions or strings. If the value of this variable equals current minibuffer depth, they are expressions; otherwise they are strings. (That convention is designed to do the right thing for recursive uses of the minibuffer.)