feat(functions): Add M-x emacs-config helper

This commit is contained in:
Vincent Ambo 2017-11-13 10:21:37 +01:00
parent b0faa53657
commit 18462a2f28

View file

@ -110,6 +110,11 @@ Including indent-buffer, which should not be called automatically on save."
(interactive)
(find-file "/etc/nixos/configuration.nix"))
;; Open local emacs configuration
(defun emacs-config ()
(interactive)
(dired "~/.emacs.d/"))
;; Get the nix store path for a given derivation.
;; If the derivation has not been built before, this will trigger a build.
(defun nix-store-path (derivation)