Function: cape-elisp-symbol
cape-elisp-symbol is an interactive and natively 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
cape-prefix-map s
Source Code
;; Defined in /nix/store/nxaggkd0bn9kr2xfg9hyw77q51q20r8y-emacs-packages-deps/share/emacs/site-lisp/elpa/cape-20260927.2347/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))))