mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
(add-to-list 'load-path
|
||||
(concat this-directory "utils")
|
||||
:append)
|
||||
(defvar swift-project-directory)
|
||||
(let ((swift-project-directory this-directory))
|
||||
(require 'swift-project-settings)))
|
||||
(set (make-local-variable 'swift-project-directory)
|
||||
|
||||
Reference in New Issue
Block a user