diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-08-18 16:14:47 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-08-18 16:14:47 +0200 |
| commit | 944c60cc3ff81ceceeb239746f7dd9d8e7d0a663 (patch) | |
| tree | 0915e5b9bd554d64611113f7a58c0939db3c05ad | |
| parent | 49e2fe56f7e6c8dba5fbe13a277e22b63d083fc6 (diff) | |
Resolve some checkdoc warnings
| -rw-r--r-- | cape.el | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -933,7 +933,7 @@ multiple super Capfs in the `completion-at-point-functions': :company-doc-buffer :company-deprecated :annotation-function :exit-function))) (cl-loop for (main beg2 end2 table . plist) in results do - ;; TODO `cape-capf-super' currently cannot merge Capfs which + ;; Note: `cape-capf-super' currently cannot merge Capfs which ;; trigger at different beginning positions. In order to support ;; this, take the smallest BEG value and then normalize all ;; candidates by prefixing them such that they all start at the @@ -1160,13 +1160,13 @@ This function can be used as an advice around an existing Capf." `(,beg ,end ,(cape--silent-table table) ,@plist)))) ;;;###autoload -(defun cape-wrap-case-fold (capf &optional dont-fold) +(defun cape-wrap-case-fold (capf &optional nofold) "Call CAPF and return a case-insensitive completion table. -If DONT-FOLD is non-nil return a case sensitive table instead. -This function can be used as an advice around an existing Capf." +If NOFOLD is non-nil return a case sensitive table instead. This +function can be used as an advice around an existing Capf." (pcase (funcall capf) (`(,beg ,end ,table . ,plist) - `(,beg ,end ,(completion-table-case-fold table dont-fold) ,@plist)))) + `(,beg ,end ,(completion-table-case-fold table nofold) ,@plist)))) ;;;###autoload (defun cape-wrap-noninterruptible (capf) |
