Function: artist-current-line

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

Signature

(artist-current-line)

Documentation

Return point's current line, buffer-relative. Top of buffer is 0.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defsubst artist-current-line ()
  "Return point's current line, buffer-relative.  Top of buffer is 0."
  (+ (count-lines 1 (point))
     (if (= (current-column) 0) 1 0)
     -1))