Function: ert-font-lock--get-line

ert-font-lock--get-line is a byte-compiled function defined in ert-font-lock.el.gz.

Signature

(ert-font-lock--get-line LINE-NUMBER)

Documentation

Return the content of the line specified by LINE-NUMBER.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert-font-lock.el.gz
(defun ert-font-lock--get-line (line-number)
  "Return the content of the line specified by LINE-NUMBER."
  (save-excursion
    (goto-char (point-min))
    (forward-line (1- line-number))
    (buffer-substring-no-properties (line-beginning-position) (line-end-position))))