From 9398f889c4d8fd3df605efb6b182f14c06b77591 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Sun, 22 Sep 2024 23:25:32 -0700 Subject: [PATCH] Cape dabbrev --- thoom-emacs/modules/thoom-completion.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thoom-emacs/modules/thoom-completion.el b/thoom-emacs/modules/thoom-completion.el index a1e407b..2f88ceb 100644 --- a/thoom-emacs/modules/thoom-completion.el +++ b/thoom-emacs/modules/thoom-completion.el @@ -108,6 +108,10 @@ :ensure t ;; Bind prefix keymap providing all Cape commands under a mnemonic key. :bind ("C-c p" . cape-prefix-map) ;; Alternative keys: M-p, M-+, ... + :custom + (cape-dabbrev-check-other-buffers nil) + (cape-file-directory-must-exist nil) :init + (add-hook 'completion-at-point-functions #'cape-dabbrev) (add-hook 'completion-at-point-functions #'cape-file) (add-hook 'completion-at-point-functions #'cape-elisp-block))