Function: cider-repl-indent-and-complete-symbol

cider-repl-indent-and-complete-symbol is an interactive and byte-compiled function defined in cider-repl.el.

Signature

(cider-repl-indent-and-complete-symbol)

Documentation

Indent the current line and perform symbol completion.

First indent the line. If indenting doesn't move point, complete the symbol.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl.el
(defun cider-repl-indent-and-complete-symbol ()
  "Indent the current line and perform symbol completion.
First indent the line.  If indenting doesn't move point, complete
the symbol."
  (interactive)
  (let ((pos (point)))
    (lisp-indent-line)
    (when (= pos (point))
      (if (save-excursion (re-search-backward "[^() \n\t\r]+\\=" nil t))
          (completion-at-point)))))