Function: custom-add-load

custom-add-load is a byte-compiled function defined in custom.el.gz.

Signature

(custom-add-load SYMBOL LOAD)

Documentation

To the custom option SYMBOL add the dependency LOAD.

LOAD should be either a library file name, or a feature name.

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defun custom-add-load (symbol load)
  "To the custom option SYMBOL add the dependency LOAD.
LOAD should be either a library file name, or a feature name."
  (let ((loads (get symbol 'custom-loads)))
    (unless (member load loads)
      (put symbol 'custom-loads (cons load loads)))))