Skip to content

Commit df0aaa5

Browse files
committed
Remove unnecessary completion-table-with-cache guard
The function has existed since Emacs 24 and the package requires Emacs 28+, so the fboundp check is dead code.
1 parent 16278de commit df0aaa5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

inf-clojure.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,9 +1527,7 @@ Returns the selected completion or nil."
15271527
(let ((bounds (inf-clojure-completion-bounds-of-expr-at-point)))
15281528
(when (and bounds (inf-clojure-get-feature (inf-clojure-proc) 'completion 'no-error))
15291529
(list (car bounds) (cdr bounds)
1530-
(if (fboundp 'completion-table-with-cache)
1531-
(completion-table-with-cache #'inf-clojure-completions)
1532-
(completion-table-dynamic #'inf-clojure-completions))))))
1530+
(completion-table-with-cache #'inf-clojure-completions)))))
15331531

15341532
;;;; ElDoc
15351533
;;;; =====

0 commit comments

Comments
 (0)