Skip to content

Commit ef3823c

Browse files
committed
[Emacs] Fix dir-locals.el.
dir-locals.el needs to `(defvar swift-project-directory)`, otherwise we get an error from Emacs later on because the `let` has bound it as the wrong kind of variable.
1 parent bf755cc commit ef3823c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.dir-locals.el

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
(add-to-list 'load-path
1212
(concat this-directory "utils")
1313
:append)
14+
(defvar swift-project-directory)
1415
(let ((swift-project-directory this-directory))
1516
(require 'swift-project-settings)))
1617
(set (make-local-variable 'swift-project-directory)

0 commit comments

Comments
 (0)