From 7e1af74fd7d32185cc11364a6074efbe49bb15b2 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Thu, 10 Aug 2023 11:29:05 +0200 Subject: README: Expand comment --- README.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 35a76d7..1708c6a 100644 --- a/README.org +++ b/README.org @@ -82,8 +82,10 @@ popular ~use-package~ macro. ("C-c p &" . cape-sgml) ("C-c p r" . cape-rfc1345)) :init - ;; Add `completion-at-point-functions', used by `completion-at-point'. - ;; NOTE: The order matters! + ;; Add to the global default value of `completion-at-point-functions' which is + ;; used by `completion-at-point'. The order of the functions matters, the + ;; first function returning a result wins. Note that the list of buffer-local + ;; completion functions takes precedence over the global list. (add-to-list 'completion-at-point-functions #'cape-dabbrev) (add-to-list 'completion-at-point-functions #'cape-file) (add-to-list 'completion-at-point-functions #'cape-elisp-block) -- cgit v1.0