Function: custom--standard-value-p

custom--standard-value-p is a byte-compiled function defined in custom.el.gz.

Signature

(custom--standard-value-p VARIABLE VALUE)

Documentation

Return non-nil if VALUE is equal to the standard value of VARIABLE.

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defun custom--standard-value-p (variable value)
  "Return non-nil if VALUE is `equal' to the standard value of VARIABLE."
  (let ((sv (get variable 'standard-value)))
    (and sv (equal value (eval (with-demoted-errors "%S" (car sv)) t)))))