Function: cape-dict
cape-dict is an autoloaded, interactive and byte-compiled function
defined in cape.el.
Signature
(cape-dict &optional INTERACTIVE)
Documentation
Complete word from dictionary at point.
This completion function works best if the dictionary is sorted
by frequency. See the custom option cape-dict-file. If
INTERACTIVE is nil the function acts like a Capf.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
;;;###autoload
(defun cape-dict (&optional interactive)
"Complete word from dictionary at point.
This completion function works best if the dictionary is sorted
by frequency. See the custom option `cape-dict-file'. If
INTERACTIVE is nil the function acts like a Capf."
(interactive (list t))
(if interactive
(cape-interactive #'cape-dict)
(pcase-let ((`(,beg . ,end) (cape--bounds 'word)))
`( ,beg ,end
,(completion-table-case-fold
(cape--dynamic-table beg end #'cape--dict-list)
(not (cape--case-fold-p cape-dict-case-fold)))
,@cape--dict-properties))))