branch: elpa/inf-clojure
commit df0aaa518557e90230e3585bd5d3eae22655e257
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
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.
---
inf-clojure.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index e13d9ecb6d..206296f684 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -1527,9 +1527,7 @@ Returns the selected completion or nil."
(let ((bounds (inf-clojure-completion-bounds-of-expr-at-point)))
(when (and bounds (inf-clojure-get-feature (inf-clojure-proc) 'completion
'no-error))
(list (car bounds) (cdr bounds)
- (if (fboundp 'completion-table-with-cache)
- (completion-table-with-cache #'inf-clojure-completions)
- (completion-table-dynamic #'inf-clojure-completions))))))
+ (completion-table-with-cache #'inf-clojure-completions)))))
;;;; ElDoc
;;;; =====