From 7c36c3edf9836c8e1f9cdf49fd543670366932a6 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 22 Jun 2020 09:18:00 -0400 Subject: feat(g/emacs): Break out magit commands Since these are defined in tvl.el now Change-Id: I34c249dceef33dac46ffe5db8b42f057d2c12a4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/556 Reviewed-by: glittershark --- users/glittershark/emacs.d/config.el | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'users/glittershark/emacs.d') diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el index 74d4454b8d03..9038e0c569ef 100644 --- a/users/glittershark/emacs.d/config.el +++ b/users/glittershark/emacs.d/config.el @@ -634,19 +634,7 @@ #'magit-branch ["c"] (list "C" "Checkout Clubhouse branch" #'magit-checkout-org-clubhouse-branch)) - - (define-suffix-command magit-push-and-submit () - (interactive) - (magit-push-refspecs - "origin" "HEAD:refs/for/master%l=Code-Review+2,publish-comments,submit" - nil)) - - (transient-append-suffix - #'magit-push - ["r"] - - (list "P" "Push and submit to gerrit" - #'magit-push-and-submit))) + ) ;; (defun grfn/split-window-more-sensibly (&optional window) ;; (let ((window (or window (selected-window)))) -- cgit 1.4.1