summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/site-lisp/gh.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/site-lisp/gh.el b/.config/emacs/site-lisp/gh.el
index 23086e5..9f7d348 100644
--- a/.config/emacs/site-lisp/gh.el
+++ b/.config/emacs/site-lisp/gh.el
@@ -26,7 +26,9 @@ via `gh-get-labels'."
(label-string (mapconcat #'identity labels ",")))
;; TODO: Remove this
(when (string= project "blixem")
- (setq title (format "%s %s" (car (vc-git-branches)) title)))
+ (setq title (format "%s %s" (car (vc-git-branches)) title))
+ (when (member "Patch" labels)
+ (setq flags (append flags '("--base" "release")))))
(setq flags (append flags `("--title" ,title)))
(when draftp
(setq flags (append flags '("--draft"))))