From c66d336228f869a7de41b077607f2af26601b166 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 10 Jan 2016 21:29:45 +0000 Subject: [PATCH] [Fix #1432] cider-grimoire errors out in ClojureScript buffers --- cider-grimoire.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cider-grimoire.el b/cider-grimoire.el index 80df55557..79930f65a 100644 --- a/cider-grimoire.el +++ b/cider-grimoire.el @@ -105,6 +105,8 @@ Prompts for the symbol to use, or uses the symbol at point, depending on the value of `cider-prompt-for-symbol'. With prefix arg ARG, does the opposite of what that option dictates." (interactive "P") + (when (derived-mode-p 'clojurescript-mode) + (user-error "`cider-grimoire' doesn't support ClojureScript")) (funcall (cider-prompt-for-symbol-function arg) "Grimoire doc for" #'cider-grimoire-lookup))