summaryrefslogtreecommitdiff
path: root/cider-repl.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-08-25 01:01:37 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-08-25 01:36:15 +0100
commit62d54d64c1508cba0aa16e33a8f7cf793e3af9d7 (patch)
treed25113355ec25d6c9dd11d347d31521c650f0508 /cider-repl.el
parent4f8a9bbe43a3ad96c5ba7ef1c221aec1e879a0a8 (diff)
Fix many compile warnings
Most of the remaining warnings would be fixed if we cleaned up cider-interaction a little bit. In the very least, there are many repl-related functions in there which should cleanly fit into cider-repl.
Diffstat (limited to 'cider-repl.el')
-rw-r--r--cider-repl.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/cider-repl.el b/cider-repl.el
index 422d89cb..1942896c 100644
--- a/cider-repl.el
+++ b/cider-repl.el
@@ -38,6 +38,7 @@
(require 'clojure-mode)
(require 'easymenu)
+(require 'cl-lib)
(eval-when-compile
(defvar paredit-version)
@@ -638,7 +639,7 @@ are not balanced."
If REPLACE is non-nil the current input is replaced with the old
input; otherwise the new input is appended. The old input has the
text property `cider-old-input'."
- (multiple-value-bind (beg end) (cider-property-bounds 'cider-old-input)
+ (cl-multiple-value-bind (beg end) (cider-property-bounds 'cider-old-input)
(let ((old-input (buffer-substring beg end)) ;;preserve
;;properties, they will be removed later
(offset (- (point) beg)))