Function: custom-dirlocals-get-options

custom-dirlocals-get-options is a byte-compiled function defined in cus-edit.el.gz.

Signature

(custom-dirlocals-get-options)

Documentation

Return all options inside a custom-dirlocals widget.

Source Code

;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom-dirlocals-get-options ()
  "Return all options inside a custom-dirlocals widget."
  (let* ((groups (widget-get custom-dirlocals-widget :children))
         (repeats (mapcar (lambda (group)
                            (nth 1 (widget-get group :children)))
                          groups)))
    (mapcan (lambda (repeat)
              (mapcar (lambda (w)
                        (nth 1 (widget-get w :children)))
                      (widget-get repeat :children)))
            repeats)))