mm-line-number-at-pos

mm-line-number-at-pos is an alias for `line-number-at-pos' in `mm-util.el'.

(mm-line-number-at-pos &optional POS)

Return (narrowed) buffer line number at position POS.
If POS is nil, use current buffer location.
Counting starts at (point-min), so the value refers
to the contents of the accessible portion of the buffer.