Skip to content

Commit db1831a

Browse files
committed
Code style
1 parent ce1c2f5 commit db1831a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cider-interaction.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ value is thing at point."
830830
(thing-at-point 'filename))
831831
(or (thing-at-point 'filename) ""))))
832832
(cider-ensure-op-supported "resource")
833-
(if (= (length path) 0)
834-
(error "Cannot find resource for empty path"))
833+
(when (= (length path) 0)
834+
(error "Cannot find resource for empty path"))
835835
(-if-let* ((resource (cider-sync-request:resource path))
836836
(buffer (cider-find-file resource)))
837837
(cider-jump-to buffer nil (cider--open-other-window-p current-prefix-arg))

0 commit comments

Comments
 (0)