From ef3823c58e391583ef231391131eb71c70fc24ae Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Mon, 15 Aug 2022 10:25:43 +0100 Subject: [PATCH] [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. --- .dir-locals.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.dir-locals.el b/.dir-locals.el index c80d39abf03f0..ee4422ad26203 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -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)