Function: cider-column-number-at-pos

cider-column-number-at-pos is a byte-compiled function defined in cider-util.el.

Signature

(cider-column-number-at-pos POS)

Documentation

Analog to line-number-at-pos.

Return buffer column number at position POS.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-util.el
(defun cider-column-number-at-pos (pos)
  "Analog to `line-number-at-pos'.
Return buffer column number at position POS."
  (save-excursion
    (goto-char pos)
    ;; we have to adjust the column number by 1 to account for the fact
    ;; that Emacs starts counting columns from 0 and Clojure from 1
    (1+ (current-column))))