summaryrefslogtreecommitdiff
path: root/cider-inspector.el
diff options
context:
space:
mode:
authorJeff Valk <jv@jeffvalk.com>2014-06-07 22:40:37 -0400
committerJeff Valk <jv@jeffvalk.com>2014-06-07 23:34:23 -0400
commit016c6cf1ea66552602a96afb9cba53c429a018d3 (patch)
treec040b1a97254b62bcfa42ee06ced59cf33a6007b /cider-inspector.el
parent27ecce4541886ca3f98591cbf222166d9f15bc74 (diff)
Move generally useful functions to cider-util.
Diffstat (limited to 'cider-inspector.el')
-rw-r--r--cider-inspector.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/cider-inspector.el b/cider-inspector.el
index cfb7848c..7e58fb20 100644
--- a/cider-inspector.el
+++ b/cider-inspector.el
@@ -99,17 +99,6 @@
(nrepl-send-request (list "op" "inspect-refresh")
(cider-render-response buffer))))
-;; Utilities
-(defmacro cider-propertize-region (props &rest body)
- "Execute BODY and add PROPS to all the text it inserts.
-More precisely, PROPS are added to the region between the point's
-positions before and after executing BODY."
- (let ((start (cl-gensym)))
- `(let ((,start (point)))
- (prog1 (progn ,@body)
- (add-text-properties ,start (point) ,props)))))
-
-
;; Render Inspector from Structured Values
(defun cider-irender (buffer str)
(with-current-buffer buffer