Variable: preview-expandable-string
preview-expandable-string is a variable defined in preview.el.
Value
(choice string
(repeat :tag "Concatenate"
(choice string
(cons :tag "Separated list"
(choice
(string :tag "Separator")
(symbol :tag "Indirect separator or flag"))
(choice string
(repeat :tag "Concatenate"
(choice string
(cons :tag "Separated list"
(choice
(string :tag "Separator")
(symbol :tag "Indirect separator or flag"))
sexp)
(symbol :tag "Indirect variable (no separator)")))
(symbol :tag "Indirect variable (with separator)")))
(symbol :tag "Indirect variable (no separator)")))
(symbol :tag "Indirect variable (with separator)"))
Documentation
Type to be used for preview-string-expand.
Just a hack until we get to learn how to do this properly. Recursive definitions are not popular with Emacs, so we define this type just two levels deep. This kind of expandible string can either be just a string, or a cons cell with a separator string in the CAR, and either an explicit list of elements in the CDR, or a symbol to be consulted recursively.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defconst preview-expandable-string
(let ((f (lambda (x)
`(choice
string
(repeat :tag "Concatenate"
(choice
string
(cons :tag "Separated list"
(choice (string :tag "Separator")
(symbol :tag
"Indirect separator or flag"))
,x)
(symbol :tag "Indirect variable (no separator)")))
(symbol :tag "Indirect variable (with separator)")))))
(funcall f (funcall f 'sexp)))
"Type to be used for `preview-string-expand'.
Just a hack until we get to learn how to do this properly.
Recursive definitions are not popular with Emacs,
so we define this type just two levels deep. This
kind of expandible string can either be just a string, or a
cons cell with a separator string in the CAR, and either
an explicit list of elements in the CDR, or a symbol to
be consulted recursively.")