summaryrefslogtreecommitdiff
path: root/cape.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-11-05 20:14:30 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-11-05 20:14:30 +0100
commite0dd6eff88f690a2876bd98e5502ceee17530f1b (patch)
tree1c240e04a17ab2ff048a143d46122a64ea6a00c8 /cape.el
parent0149fa759b5951f8c531d2b6920028c00ad08bc7 (diff)
Improve docstrings
Diffstat (limited to 'cape.el')
-rw-r--r--cape.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/cape.el b/cape.el
index 4cf5c3e..639d41b 100644
--- a/cape.el
+++ b/cape.el
@@ -1086,7 +1086,8 @@ completion table is refreshed on every input change."
;;;###autoload
(defun cape-wrap-passthrough (capf)
- "Call CAPF and make sure that no completion style filtering takes place."
+ "Call CAPF and make sure that no completion style filtering takes place.
+This function can be used as an advice around an existing Capf."
(pcase (funcall capf)
(`(,beg ,end ,table . ,plist)
`(,beg ,end ,(cape--passthrough-table table) ,@plist))))
@@ -1178,8 +1179,7 @@ If the prefix is long enough, enforce auto completion."
;;;###autoload
(defun cape-wrap-inside-faces (capf &rest faces)
- "Call CAPF only if inside FACES.
-This function can be used as an advice around an existing Capf."
+ "Call CAPF only if inside FACES."
(when-let (((> (point) (point-min)))
(fs (get-text-property (1- (point)) 'face))
((if (listp fs)