Function: custom-dirlocals-validate
custom-dirlocals-validate is a byte-compiled function defined in
cus-edit.el.gz.
Signature
(custom-dirlocals-validate)
Documentation
Non-nil if all customization options validate.
If at least an option doesn't validate, signals an error and moves point to the widget with the invalid value.
Source Code
;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom-dirlocals-validate ()
"Non-nil if all customization options validate.
If at least an option doesn't validate, signals an error and moves point
to the widget with the invalid value."
(dolist (opt (custom-dirlocals-get-options))
(when-let ((w (widget-apply opt :validate)))
(goto-char (widget-get w :from))
(error "%s" (widget-get w :error))))
t)