emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/cape 882b9d9e79 042/146: Rename cape-merge-capfs


From: ELPA Syncer
Subject: [elpa] externals/cape 882b9d9e79 042/146: Rename cape-merge-capfs
Date: Sun, 9 Jan 2022 20:57:41 -0500 (EST)

branch: externals/cape
commit 882b9d9e7959687f3f0b8657796a460dd37bd301
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Rename cape-merge-capfs
---
 README.org | 12 ++++++------
 cape.el    |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.org b/README.org
index fe63f98e5b..5617126986 100644
--- a/README.org
+++ b/README.org
@@ -81,11 +81,11 @@ The adapter can be used as follows:
       (list #'company-files #'company-ispell #'company-dabbrev)))
 #+end_src
 
-** Merging multiple Capfs
+** Super-Capf - Merging multiple Capfs
 
 /Throw multiple Capfs under the Cape and get a Super-Capf!/
 
-Cape supports merging multiple Capfs using the function ~cape-merge-capfs~. 
This
+Cape supports merging multiple Capfs using the function ~cape-super-capf~. This
 feature is experimental and works only for well-behaved Capfs and static
 completion tables. But it is a start to emulate the corresponding Company
 feature. Maybe it is possible to extend the capabilities of the completion 
table
@@ -94,15 +94,15 @@ merging in the future.
 #+begin_src emacs-lisp
   ;; Merge the dabbrev, dict and keyword capfs, display candidates together.
   (setq-local completion-at-point-functions
-              (list (cape-merge-capfs #'cape-dabbrev-capf #'cape-dict-capf 
#'cape-keyword-capf)))
+              (list (cape-super-capf #'cape-dabbrev-capf #'cape-dict-capf 
#'cape-keyword-capf)))
 #+end_src
 
-** Capf cache busting
+** Capf-Buster - Cache busting
 
-/The Capf buster ensures that you always get a fresh set of candidates!/
+/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. For example the Capf merging function ~cape-merge-capfs~ 
creates
+Capf-transformer. For example the Capf merging function ~cape-super-capf~ 
creates
 a Capf, which caches the candidates for the whole lifetime of the Capf.
 Therefore you may want to combine a merged Capf with a cache buster under some
 circumstances.
diff --git a/cape.el b/cape.el
index d3a678ae3a..7c462042bf 100644
--- a/cape.el
+++ b/cape.el
@@ -515,7 +515,7 @@ METADATA is optional completion metadata."
       (funcall fun x))))
 
 ;;;###autoload
-(defun cape-merge-capfs (&rest capfs)
+(defun cape-super-capf (&rest capfs)
   "Merge CAPFS and return new Capf which includes all candidates."
   (lambda ()
     (when-let (results (delq nil (mapcar #'funcall capfs)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]