From c8bf0f90085e058d167596a8ac4ff57cb4293066 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 14 Dec 2019 17:07:25 +0000 Subject: feat(emacs.d): Add function to open depot in magit --- tools/emacs/config/functions.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el index e0bc496a53..a6cc07e889 100644 --- a/tools/emacs/config/functions.el +++ b/tools/emacs/config/functions.el @@ -54,10 +54,10 @@ Including indent-buffer, which should not be called automatically on save." (interactive) (man "configuration.nix")) -;; Open local emacs configuration -(defun emacs-config () +;; Open my monorepo in magit +(defun depot-status () (interactive) - (dired "~/.emacs.d/")) + (magit-status "~/depot")) ;; Get the nix store path for a given derivation. ;; If the derivation has not been built before, this will trigger a build. -- cgit 1.4.1