Function: custom--editable-field-p

custom--editable-field-p is a byte-compiled function defined in cus-edit.el.gz.

Signature

(custom--editable-field-p WIDGET)

Documentation

Non-nil if WIDGET is an editable-field widget, or inherits from it.

Source Code

;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom--editable-field-p (widget)
  "Non-nil if WIDGET is an editable-field widget, or inherits from it."
  (let ((type (widget-type widget)))
    (while (and type (not (eq type 'editable-field)))
      (setq type (widget-type (get type 'widget-type))))
    type))