Function: projectile-read-variable
projectile-read-variable is a byte-compiled function defined in
projectile.el.
Signature
(projectile-read-variable)
Documentation
Prompt for a variable and return its name as a string.
Return nil on empty input, which ends the variable-entry loop of
projectile-skel-dir-locals while keeping the entries made so far.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Editing a project's .dir-locals
(defun projectile-read-variable ()
"Prompt for a variable and return its name as a string.
Return nil on empty input, which ends the variable-entry loop of
`projectile-skel-dir-locals' while keeping the entries made so far."
(let ((var (completing-read "Variable (RET when done): "
obarray
(lambda (v)
(and (boundp v) (not (keywordp v))))
t)))
(unless (string-empty-p var) var)))