diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-07-14 18:14:31 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-07-14 20:30:24 +0200 |
| commit | 66116be876dbe92cd1185db04f7c0507cda4e6c3 (patch) | |
| tree | dadf0cc1c2b809541688a2e18efbd8a5922ceace /corfu.el | |
| parent | 9f278fd95b0bffe57617d3574fe1c658609e3c7c (diff) | |
Add completion-predicate to the Corfu commands (Fix #35)completion-predicate
Diffstat (limited to 'corfu.el')
| -rw-r--r-- | corfu.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -833,5 +833,11 @@ filter string with spaces is allowed." (memq major-mode corfu-excluded-modes)) (corfu-mode 1))) +;; Emacs 28: Do not show Corfu commands with M-X +(dolist (sym '(corfu-next corfu-previous corfu-first corfu-last corfu-quit + corfu-complete corfu-insert corfu-scroll-up corfu-scroll-down + corfu-show-location corfu-show-documentation)) + (put sym 'completion-predicate #'ignore)) + (provide 'corfu) ;;; corfu.el ends here |
