Function: org-current-line

org-current-line is a byte-compiled function defined in org-macs.el.

Signature

(org-current-line &optional POS)

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
(defsubst org-current-line (&optional pos)
  (save-excursion
    (and pos (goto-char pos))
    ;; works also in narrowed buffer, because we start at 1, not point-min
    (+ (if (bolp) 1 0) (count-lines 1 (point)))))