branch: externals/hotfuzz
commit 44d0c23e9cba734c3d65fa1c4d174ca584940b75
Author: Axel Forsman <[email protected]>
Commit: Axel Forsman <[email protected]>
Remove the deprecated hotfuzz-vertico-mode
---
hotfuzz.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hotfuzz.el b/hotfuzz.el
index 1dfcbcf71b..bfa39c6de4 100644
--- a/hotfuzz.el
+++ b/hotfuzz.el
@@ -24,6 +24,7 @@
;; linear space." Bioinformatics 4.1 (1988): 11-17.
(eval-when-compile (require 'cl-lib))
+(require 'hotfuzz-module nil t)
(declare-function hotfuzz--filter-c "hotfuzz-module")
(defgroup hotfuzz nil
@@ -137,7 +138,7 @@ list before passing it to `display-sort-function' or
(bounds (completion-boundaries beforepoint table pred afterpoint))
(prefix (substring beforepoint 0 (car bounds)))
(needle (substring beforepoint (car bounds)))
- (use-module-p (require 'hotfuzz-module nil t))
+ (use-module-p (fboundp 'hotfuzz--filter-c))
(case-fold-search completion-ignore-case)
(completion-regexp-list
(if use-module-p completion-regexp-list
@@ -192,8 +193,5 @@ list before passing it to `display-sort-function' or
'(hotfuzz completion-flex-try-completion hotfuzz-all-completions
"Fuzzy completion.")))
-;;;###autoload
-(define-obsolete-function-alias 'hotfuzz-vertico-mode #'ignore "0.1")
-
(provide 'hotfuzz)
;;; hotfuzz.el ends here