Function: project--value-in-dir
project--value-in-dir is a byte-compiled function defined in
project.el.gz.
Signature
(project--value-in-dir VAR DIR)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(defun project--value-in-dir (var dir)
(with-temp-buffer
(setq default-directory dir)
(let ((enable-local-variables :all))
(hack-dir-local-variables))
;; Don't use `hack-local-variables-apply' to avoid setting modes.
(alist-get var file-local-variables-alist
(symbol-value var))))