Cape dabbrev

This commit is contained in:
2024-09-22 23:25:32 -07:00
parent 38ee257719
commit 9398f889c4

View File

@@ -108,6 +108,10 @@
:ensure t :ensure t
;; Bind prefix keymap providing all Cape commands under a mnemonic key. ;; Bind prefix keymap providing all Cape commands under a mnemonic key.
:bind ("C-c p" . cape-prefix-map) ;; Alternative keys: M-p, M-+, ... :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 :init
(add-hook 'completion-at-point-functions #'cape-dabbrev)
(add-hook 'completion-at-point-functions #'cape-file) (add-hook 'completion-at-point-functions #'cape-file)
(add-hook 'completion-at-point-functions #'cape-elisp-block)) (add-hook 'completion-at-point-functions #'cape-elisp-block))