Function: cider-completion-get-context
cider-completion-get-context is a byte-compiled function defined in
cider-completion-context.el.
Signature
(cider-completion-get-context &optional INFO)
Documentation
Extract context depending (maybe of INFO type).
Output depends on cider-completion-use-context and the current major mode.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-completion-context.el
(defun cider-completion-get-context (&optional info)
"Extract context depending (maybe of INFO type).
Output depends on `cider-completion-use-context' and the current major mode."
(if cider-completion-use-context
;; We use ignore-errors here since grabbing the context
;; might fail because of unbalanced parens, or other
;; technical reasons, yet we don't want to lose all
;; completions and throw error to user because of that.
(or (ignore-errors
(if info
(cider-completion-get-info-context-at-point)
(cider-completion-get-context-at-point)))
"nil")
"nil"))