Function: Custom-set

Custom-set is an interactive and byte-compiled function defined in cus-edit.el.gz.

Signature

(Custom-set &rest IGNORE)

Documentation

Set the current value of all edited settings in the buffer.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun Custom-set (&rest _ignore)
  "Set the current value of all edited settings in the buffer."
  (interactive)
  (custom-command-apply
   (lambda (child)
     (when (eq (widget-get child :custom-state) 'modified)
       (widget-apply child :custom-set)))
   "Set all values according to this buffer? "))