forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.dir-locals.el
21 lines (20 loc) · 968 Bytes
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
;; removed (make-local-variable 'my-project-path)
;;((nil . ((eval . (progn BODY)))))
((nil . ( (eval . (progn
(message "project root finding ... ")
(setq sndr-project-root (sndr-dir-locals-dir))
(message (concat "project root is: " sndr-project-root))
(setq uname (replace-regexp-in-string "[ \n]+$" "" (shell-command-to-string "uname")))
(setq compilation-scroll-output t)
(setq compilation-scroll-output 'first-error)
;; (setq compile-command (concat "pushd " sndr-project-root " && lxqt-sudo make absolem_mauc:default:dfu"))
(evil-leader/set-key
"m" 'compile
)
);; end progn
);;end eval
);;end nil
)
)