custom-guess-type
custom-guess-type is a compiled Lisp function in `cus-edit.el
'.
(custom-guess-type SYMBOL)
Guess a widget suitable for editing the value of SYMBOL.
This is done by matching SYMBOL with `custom-guess-name-alist' and
if that fails, the doc string with `custom-guess-doc-alist'.