Skip to content

Commit

Permalink
Fix condition for enabling corfu
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Sep 26, 2024
1 parent 5c21480 commit d40ad68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/init-corfu.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
completion-category-overrides nil)
(setq completion-cycle-threshold 4)

(when (and (version<= "28.1" emacs-version) (maybe-require-package 'corfu))
(when (and (version< "28.1" emacs-version) (maybe-require-package 'corfu))
(setq-default corfu-auto t)
(with-eval-after-load 'eshell
(add-hook 'eshell-mode-hook (lambda () (setq-local corfu-auto nil))))
Expand Down

0 comments on commit d40ad68

Please sign in to comment.