emacs: make small tweak to cape configuration

This commit is contained in:
Protesilaos 2026-07-12 17:45:14 +03:00
parent 9826c77f43
commit 504bf1ea43
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 4 additions and 0 deletions

View file

@ -295,6 +295,8 @@ INDIVIDUAL-CAPFS to the list."
"Set up Cape for prose."
(prot/cape-super-set-local '(cape-dict cape-dabbrev cape-emoji) '(cape-file)))
(setq completion-at-point-functions '(cape-dabbrev cape-file))
(add-hook 'text-mode-hook #'prot/cape-text-setup)))
(when (eq prot-emacs-completion-in-buffer 'company)

View file

@ -4825,6 +4825,8 @@ INDIVIDUAL-CAPFS to the list."
"Set up Cape for prose."
(prot/cape-super-set-local '(cape-dict cape-dabbrev cape-emoji) '(cape-file)))
(setq completion-at-point-functions '(cape-dabbrev cape-file))
(add-hook 'text-mode-hook #'prot/cape-text-setup)))
#+end_src