Function: cape-elisp-symbol

cape-elisp-symbol is an autoloaded, interactive and byte-compiled function defined in cape.el.

Signature

(cape-elisp-symbol &optional INTERACTIVE)

Documentation

Complete Elisp symbol 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-elisp-symbol (&optional interactive)
  "Complete Elisp symbol 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-elisp-symbol))
    (pcase-let ((`(,beg . ,end) (cape--bounds 'symbol)))
      (when (eq (char-after beg) ?')
        (setq beg (1+ beg) end (max beg end)))
      `(,beg ,end ,obarray ,@cape--elisp-symbol-properties))))