Function: custom-dirlocals-symbol-action

custom-dirlocals-symbol-action is a byte-compiled function defined in cus-edit.el.gz.

Signature

(custom-dirlocals-symbol-action WIDGET &optional EVENT)

Documentation

Action for the symbol WIDGET.

Sets the value of its parent, a cons widget, in order to create an appropriate widget to edit the value of WIDGET.

Moves point into the widget that holds the value.

Source Code

;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom-dirlocals-symbol-action (widget &optional _event)
  "Action for the symbol WIDGET.

Sets the value of its parent, a cons widget, in order to create an
appropriate widget to edit the value of WIDGET.

Moves point into the widget that holds the value."
  (setq widget (or widget (widget-at)))
  (widget-value-set (widget-get widget :parent)
                    (cons (widget-value widget) ""))
  (widget-setup)
  (widget-forward 1))