Function: cape-abbrev

cape-abbrev is an interactive and natively 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

cape-prefix-map a

Source Code

;; Defined in /nix/store/nxaggkd0bn9kr2xfg9hyw77q51q20r8y-emacs-packages-deps/share/emacs/site-lisp/elpa/cape-20260927.2347/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))))