From 0bdc6ae05c80fda8f451d5a529d48ba2bdf18ec2 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Wed, 24 Nov 2021 07:53:13 +0100 Subject: README: Mention cape-capf-buster --- README.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.0