Function: edt-current-line
edt-current-line is a byte-compiled function defined in edt.el.gz.
Signature
(edt-current-line)
Documentation
Return the vertical position of point in the selected window.
Top line is 0. Counts each text line only once, even if it wraps.
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
(defun edt-current-line nil
"Return the vertical position of point in the selected window.
Top line is 0. Counts each text line only once, even if it wraps."
(+ (count-lines (window-start) (point)) (if (= (current-column) 0) 1 0) -1))