summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-10-11 09:44:01 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2015-10-11 09:44:01 +0300
commit9f74f6907c2af10ef1297beb31813dc2de4e0ba0 (patch)
tree78f0d377734311f9c6138fab6392999279b405ca
parentf625871ed24ae595b999c233981d248b801a5352 (diff)
Add a simple command to report a bug
-rw-r--r--cider-interaction.el8
-rw-r--r--cider-mode.el1
2 files changed, 9 insertions, 0 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index b66b960b..3bd8a6cb 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -1589,6 +1589,14 @@ With a prefix argument, prompt for function to run instead of -main."
(interactive)
(browse-url cider-manual-url))
+(defconst cider-report-bug-url "https://github.com/clojure-emacs/cider/issues/new"
+ "The URL to report a CIDER issue.")
+
+(defun cider-report-bug ()
+ "Report a bug in your default browser."
+ (interactive)
+ (browse-url cider-report-bug-url))
+
(provide 'cider-interaction)
;;; cider-interaction.el ends here
diff --git a/cider-mode.el b/cider-mode.el
index 188ed33e..19e4181b 100644
--- a/cider-mode.el
+++ b/cider-mode.el
@@ -298,6 +298,7 @@ Returns to the buffer in which the command was invoked."
["Restart" cider-restart]
"--"
["View manual online" cider-open-manual]
+ ["Report a bug" cider-report-bug]
["Version info" cider-version]))
map))