aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sx.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/sx.el b/sx.el
index 14d5fce..66beeaa 100644
--- a/sx.el
+++ b/sx.el
@@ -48,7 +48,9 @@
(defun sx-bug-report ()
"File a bug report about the `sx' package."
(interactive)
- (browse-url "https://github.com/vermiculus/sx.el/issues/new"))
+ (if (featurep 'magithub)
+ (magithub-issue-new (magithub-repo "vermiculus/sx.el"))
+ (browse-url "https://github.com/vermiculus/sx.el/issues/new")))
;;; Site