summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-11-24 07:53:13 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2021-11-24 07:53:13 +0100
commit0bdc6ae05c80fda8f451d5a529d48ba2bdf18ec2 (patch)
tree6e65b5fee849c9b4a4179c23f8524c99b883ee42
parent8fd6c17a01f80d7ccefd5a03d2347dad27e6ebc5 (diff)
README: Mention cape-capf-buster
-rw-r--r--README.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.org b/README.org
index 6960abb..c862dac 100644
--- a/README.org
+++ b/README.org
@@ -96,3 +96,15 @@ merging in the future.
(setq-local completion-at-point-functions
(list (cape-merge-capfs #'cape-dabbrev-capf #'cape-dict-capf #'cape-keyword-capf)))
#+end_src
+
+** Capf cache busting
+
+/The Capf buster ensures that you always get a fresh set of candidates!/
+
+If a Capf caches the candidates too aggressively we can use a cache busting
+Capf-transformer.
+
+#+begin_src emacs-lisp
+ (setq-local completion-at-point-functions
+ (list (cape-capf-buster #'some-caching-capf)))
+#+end_src