Skip to content

Commit e2e0424

Browse files
committed
Optimize some code
1 parent 2bcf576 commit e2e0424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cider-clojuredocs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ opposite of what that option dictates."
145145
"Look up the ClojureDocs documentation for SYM."
146146
(let ((docs (cider-sync-request:clojuredocs-lookup (cider-current-ns) sym)))
147147
(pop-to-buffer (cider-create-clojuredocs-buffer (cider-clojuredocs--content docs)))
148-
(highlight-regexp (car (last (split-string sym "/"))) 'bold)))
148+
(highlight-regexp (cadr (split-string sym "/")) 'bold)))
149149

150150
;;;###autoload
151151
(defun cider-clojuredocs (&optional arg)

0 commit comments

Comments
 (0)