From 1260b50e891f965eeae28d0b78c686595d06b92c Mon Sep 17 00:00:00 2001 From: Paul Bartholomew <paul.bartholomew08@imperial.ac.uk> Date: Wed, 10 Apr 2019 10:01:37 +0100 Subject: [PATCH] Fixing .dir-locals.el Now correctly sets flycheck-gfortran-include-path and sets the language standard to -std=f2003 --- .dir-locals.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index 70d21e13..764b6556 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,6 +1,7 @@ ((nil . ((eval . (setq flycheck-gfortran-include-path - (file-name-directory - (let ((d (dir-locals-find-file "."))) - (if (stringp d) - d - (car d))))))))) + (list (file-name-directory + (let ((d (dir-locals-find-file "."))) + (if (stringp d) + d + (car d))))))) + (eval . (setq flycheck-gfortran-language-standard "f2003"))))) -- GitLab