about summary refs log tree commit diff
path: root/tools/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-14T17·07+0000
committerVincent Ambo <tazjin@google.com>2019-12-14T17·07+0000
commitc8bf0f90085e058d167596a8ac4ff57cb4293066 (patch)
tree4c9223e5ef68bb654b8426a0ad0a7349f5532688 /tools/emacs/config
parentfea2191d15dbad549a74a794662fbc919a228042 (diff)
feat(emacs.d): Add function to open depot in magit r/149
Diffstat (limited to 'tools/emacs/config')
-rw-r--r--tools/emacs/config/functions.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el
index e0bc496a538f..a6cc07e88963 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.