about summary refs log tree commit diff
path: root/users/glittershark/emacs.d
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-06-22T13·18-0400
committerglittershark <grfn@gws.fyi>2020-06-22T13·18+0000
commit7c36c3edf9836c8e1f9cdf49fd543670366932a6 (patch)
treebf00a7aaff5bbc6fdff5a928bccbca730bfc1455 /users/glittershark/emacs.d
parent5252623ca7f2ae419fc02afe74281ebe7c5e346f (diff)
feat(g/emacs): Break out magit commands r/1061
Since these are defined in tvl.el now

Change-Id: I34c249dceef33dac46ffe5db8b42f057d2c12a4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/556
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/emacs.d')
-rw-r--r--users/glittershark/emacs.d/config.el14
1 files changed, 1 insertions, 13 deletions
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))))