Function: current-line

current-line is a byte-compiled function defined in array.el.gz.

Signature

(current-line)

Documentation

Return the current buffer line at point. The first line is 0.

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/array.el.gz
(defun current-line ()
  "Return the current buffer line at point.  The first line is 0."
  (count-lines (point-min) (line-beginning-position)))