summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-11-29 15:57:55 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2021-11-29 15:57:55 +0100
commit5e6abb568ac4b16469033b5751d642e23e8c819f (patch)
treeeebda8a01081414192efcc4128b45686403628c6
parente81e3cfd4e6a0c111f94d877db43770d83d1a68a (diff)
Rename capf function in analogy to the table function
-rw-r--r--README.org2
-rw-r--r--cape.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.org b/README.org
index 115bbad..9aee1a9 100644
--- a/README.org
+++ b/README.org
@@ -159,6 +159,6 @@ achieve a similarly refreshing strategy.
- ~cape-silent-capf~: Wrap a chatty Capf and silence it.
- ~cape-noninterruptible-capf~: Protect a Capf which does not like to be interrupted.
- ~cape-interactive-capf~: Create a Capf which can be called interactively.
+- ~cape-capf-case-fold~: Create a Capf which is case insensitive.
- ~cape-capf-with-properties~: Add completion properties to a Capf.
- ~cape-capf-with-predicate~: Add candidate predicate to a Capf.
-- ~cape-capf-with-case-fold~: Create a Capf which is case insensitive.
diff --git a/cape.el b/cape.el
index 966817f..85d9aaa 100644
--- a/cape.el
+++ b/cape.el
@@ -876,7 +876,7 @@ The PREDICATE is passed the candidate symbol or string."
`(,beg ,end ,(cape--silent-table table) ,@plist)))))
;;;###autoload
-(defun cape-capf-with-case-fold (capf)
+(defun cape-capf-case-fold (capf)
"Create a new CAPF which is case insensitive."
(lambda ()
(pcase (funcall capf)