Commit e8c1700b24e0

Vincent Demeester <vincent@sbr.pm>
2023-03-20 11:41:33
tools/emacs: load magit-popup
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent d250acb
Changed files (1)
tools
emacs
tools/emacs/config/config-vcs.el
@@ -59,6 +59,8 @@
   (setq diff-font-lock-prettify nil)
   (setq diff-font-lock-syntax nil))
 
+(use-package magit-popup)
+
 (use-package magit
   :unless noninteractive
   :commands (magit-status magit-clone magit-pull magit-blame magit-log-buffer-file magit-log)
@@ -80,9 +82,9 @@
                 magit-display-buffer-function #'magit-display-buffer-traditional)
 
   (magit-define-popup-option 'magit-rebase-popup
-    ?S "Sign using gpg" "--gpg-sign=" #'magit-read-gpg-secret-key)
+                             ?S "Sign using gpg" "--gpg-sign=" #'magit-read-gpg-secret-key)
   (magit-define-popup-switch 'magit-log-popup
-    ?m "Omit merge commits" "--no-merges")
+                             ?m "Omit merge commits" "--no-merges")
   ;; cargo-culted from https://github.com/magit/magit/issues/3717#issuecomment-734798341
   ;; valid gitlab options are defined in https://docs.gitlab.com/ee/user/project/push_options.html
   ;;