diff options
| -rw-r--r-- | .dir-locals.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 0b8d726888..182d5ff713 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -17,9 +17,10 @@ ;; Setting the compilation directory to coq root. This is ;; mutually exclusive with the setting of default-directory - ;; below. + ;; below. Also setting the path for next error. (unless coq-project-find-file - (setq compile-command (concat "make -C " coq-root-directory))) + (setq compile-command (concat "make -C " coq-root-directory)) + (setq compilation-search-path (cons coq-root-directory nil))) ;; Set default directory to coq root ONLY IF variable ;; coq-project-find-file is non nil. This should remain a |
