branch: elpa/fedi
commit 25e10119252493c3757415de62e6fbbfb79b6d55
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
fedi-post: enable corfu completion in compose-buffer
---
fedi-post.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/fedi-post.el b/fedi-post.el
index 1a55724c6d9..79cea839bfa 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -657,7 +657,11 @@ string, the other elements should be symbols."
(declare-function company-mode-on "company")
(set (make-local-variable 'company-backends)
(add-to-list 'company-backends 'company-capf))
- (company-mode-on)))
+ (company-mode-on))
+ ;; corfu
+ (when (require 'corfu nil :no-error)
+ (setq-local corfu-auto t)
+ (corfu--on)))
;; after-change:
(make-local-variable 'after-change-functions)
;; (cl-pushnew #'fedi-post--save-post-text after-change-functions)