Skip to content

Commit cd71981

Browse files
committed
Got rid of unecessary funcall
1 parent 766fc5b commit cd71981

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clojure-mode.el

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,10 +1620,8 @@ Return nil if not inside a project."
16201620
(mapcar (lambda (fname)
16211621
(locate-dominating-file dir-name fname))
16221622
clojure-build-tool-files))))
1623-
(or (ignore-errors
1624-
(funcall clojure-project-root-function))
1625-
(when (> (length choices) 0)
1626-
(car (sort choices #'file-in-directory-p))))))
1623+
(when (> (length choices) 0)
1624+
(car (sort choices #'file-in-directory-p)))))
16271625

16281626
(defun clojure-project-relative-path (path)
16291627
"Denormalize PATH by making it relative to the project root."

0 commit comments

Comments
 (0)