summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-08-18 20:27:06 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2023-08-18 20:27:06 +0200
commit416d7360e7a18ef8a7697e63a6fe75a437f4b145 (patch)
tree79fbc88b06078a17955382d7920d952ee121fa2d /README.org
parent78a97db72f9eef3d523b77f1777f946b4c7c5508 (diff)
README: Mention cape-capf-debug
Diffstat (limited to 'README.org')
-rw-r--r--README.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.org b/README.org
index 5617108..c13c8ec 100644
--- a/README.org
+++ b/README.org
@@ -601,6 +601,14 @@ command.
(advice-add #'corfu--post-command :around #'force-debug)
#+end_src
+When Capfs do not yield the expected result you can use ~cape-capf-debug~ to add
+debug messages to a Capf. The Capf will then produce a completion log in the
+messages buffer.
+
+#+begin_src emacs-lisp
+(setq completion-at-point-functions (list (cape-capf-debug #'cape-dict)))
+#+end_src
+
* Contributions
Since this package is part of [[https://elpa.gnu.org/packages/corfu.html][GNU ELPA]] contributions require a copyright