Function: artist-ff-is-bottommost-line
artist-ff-is-bottommost-line is a byte-compiled function defined in
artist.el.gz.
Signature
(artist-ff-is-bottommost-line X Y)
Documentation
Determine whether the position X,Y is on the bottommost line or not.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-ff-is-bottommost-line (_x y)
"Determine whether the position X,Y is on the bottommost line or not."
(save-excursion
(goto-char (point-max))
(beginning-of-line)
(let ((last-line (artist-current-line)))
(if (= (point) (point-max))
;; Last line is empty, don't paint on it, report previous line
;; as last line
(>= y (- last-line 1))
(>= y last-line)))))