Function: projectile-edit-dir-locals
projectile-edit-dir-locals is an autoloaded, interactive and
byte-compiled function defined in projectile.el.
Signature
(projectile-edit-dir-locals)
Documentation
Edit or create a .dir-locals.el file of the project.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;;;###autoload
(defun projectile-edit-dir-locals ()
"Edit or create a .dir-locals.el file of the project."
(interactive)
(let ((file (expand-file-name ".dir-locals.el" (projectile-acquire-root))))
(find-file file)
(when (not (file-exists-p file))
(projectile-skel-dir-locals)
(save-buffer))))