diff --git a/.dir-locals.el b/.dir-locals.el index 997a80ed..a963011f 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -3,7 +3,15 @@ (fill-column . 80) ;; (commment-fill-column . 80) (emacs-lisp-docstring-fill-column . 65) - (bug-reference-url-format . "https://github.com/djcb/mu/issues/%s"))) + (bug-reference-url-format . "https://github.com/djcb/mu/issues/%s") + ;; uncomment below (or put in .dir-locals-2.el) + ;; to dtrt for M-x compile + ;; + ;; (eval . (setq compile-command + ;; (format "make -C %s" + ;; (shell-quote-argument + ;; (locate-dominating-file "." "Makefile"))))) + )) (c-mode . ((c-file-style . "linux") (indent-tabs-mode . t) (mode . bug-reference-prog)))