From 18462a2f287d8f2b90f98b4abe64da99dac6d84a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 13 Nov 2017 10:21:37 +0100 Subject: [PATCH] feat(functions): Add M-x emacs-config helper --- init/functions.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init/functions.el b/init/functions.el index c47e64d34..738b6d9f9 100644 --- a/init/functions.el +++ b/init/functions.el @@ -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)