summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
Diffstat (limited to 'README.org')
-rw-r--r--README.org6
1 files 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)