diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-11-05 20:14:30 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-11-05 20:14:30 +0100 |
| commit | e0dd6eff88f690a2876bd98e5502ceee17530f1b (patch) | |
| tree | 1c240e04a17ab2ff048a143d46122a64ea6a00c8 | |
| parent | 0149fa759b5951f8c531d2b6920028c00ad08bc7 (diff) | |
Improve docstrings
| -rw-r--r-- | cape.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |
