From e0dd6eff88f690a2876bd98e5502ceee17530f1b Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Wed, 5 Nov 2025 20:14:30 +0100 Subject: Improve docstrings --- cape.el | 6 +++--- 1 file 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) -- cgit v1.0