summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-08-10 11:29:05 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2023-08-10 11:29:05 +0200
commit7e1af74fd7d32185cc11364a6074efbe49bb15b2 (patch)
tree9a2943296a5ba5472eb97faeaf801fa320b3a68f
parent5b28cd43f2efa19dbf5053f164cce622a4b5bdae (diff)
README: Expand comment
-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)