summaryrefslogtreecommitdiff
path: root/cider-browse-ns.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-11-25 11:59:04 +0100
committerBozhidar Batsov <bozhidar@batsov.com>2016-11-25 11:59:04 +0100
commitc2d32d8b078ebbd5cb30abadf7b027c07b9ca76b (patch)
tree24daa76848baa923256933156e71501772762755 /cider-browse-ns.el
parent8fef15e7ef83793f1cdc29404ce57596406935d3 (diff)
Drop some redundant string-related functions
We can now use the versions of those functions that were added in Emacs 24.4.
Diffstat (limited to 'cider-browse-ns.el')
-rw-r--r--cider-browse-ns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-browse-ns.el b/cider-browse-ns.el
index 7134ce55..532283e2 100644
--- a/cider-browse-ns.el
+++ b/cider-browse-ns.el
@@ -172,7 +172,7 @@ Each item consists of a ns-var and the first line of its docstring."
(defun cider-browse-ns--thing-at-point ()
"Get the thing at point.
Return a list of the type ('ns or 'var) and the value."
- (let ((line (car (split-string (cider-string-trim (thing-at-point 'line)) " "))))
+ (let ((line (car (split-string (string-trim (thing-at-point 'line)) " "))))
(if (string-match "\\." line)
(list 'ns line)
(list 'var (format "%s/%s"