summaryrefslogtreecommitdiff
path: root/cider-repl-history.el
diff options
context:
space:
mode:
authorTianxiang Xiong <tianxiang.xiong@gmail.com>2017-07-22 14:09:54 -0700
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-07-23 08:28:21 +0300
commit1251bc6dcea39ac97419f7d8950b05dde1192401 (patch)
treeac4e99dad10f81845cb0b07a1e843cfaabe4ae82 /cider-repl-history.el
parentc484d7efcf7b2714b046d420cc3eb3626bc0eaab (diff)
Don't set `show-args` to `t` in `cl-assert`
Doing so causes a [byte-compiler error](https://travis-ci.org/clojure-emacs/cider/jobs/256287467#L1214) under Emacs 24. See: https://emacs.stackexchange.com/questions/34341/error-called-with-1-args-to-fill-0-format-fields/34350#34350
Diffstat (limited to 'cider-repl-history.el')
-rw-r--r--cider-repl-history.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-repl-history.el b/cider-repl-history.el
index e72436cc..6a9cdfec 100644
--- a/cider-repl-history.el
+++ b/cider-repl-history.el
@@ -420,7 +420,7 @@ text is still inserted at the end."
"Clear the highlighted entry, when one exists."
(when cider-repl-history-previous-overlay
(cl-assert (overlayp cider-repl-history-previous-overlay)
- t "not an overlay")
+ nil "not an overlay")
(overlay-put cider-repl-history-previous-overlay 'face nil)))
(defun cider-repl-history-update-highlighed-entry ()