feat(gs/emacs): Set compile-command in nix buffers

When visiting buffers that represent home-manager or nixos modules, set
compile-command to the relevant switch command.

Change-Id: I565e092d1e6b97eb7fee9d88211c0ee6ebb30b53
Reviewed-on: https://cl.tvl.fyi/c/depot/+/846
Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
Griffin Smith 2020-07-02 14:54:28 -04:00 committed by glittershark
parent 2b4abca80f
commit 2ad67392a6
2 changed files with 31 additions and 0 deletions

View file

@ -27,6 +27,7 @@
(load! "github-org")
(load! "org-gcal")
(load! "grid")
(load! "nix")
(require 's)
(require 'tvl)