Function: cape-abbrev
cape-abbrev is an autoloaded, interactive and byte-compiled function
defined in cape.el.
Signature
(cape-abbrev &optional INTERACTIVE)
Documentation
Complete abbreviation at point.
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-abbrev (&optional interactive)
"Complete abbreviation at point.
If INTERACTIVE is nil the function acts like a Capf."
(interactive (list t))
(if interactive
;; No cycling since it breaks the :exit-function.
(let (completion-cycle-threshold)
(cape-interactive #'cape-abbrev))
(when-let* ((abbrevs (cape--abbrev-list))
(bounds (cape--bounds 'symbol)))
`(,(car bounds) ,(cdr bounds) ,abbrevs ,@cape--abbrev-properties))))