Function: goto-line-relative
goto-line-relative is an interactive and byte-compiled function
defined in simple.el.gz.
Signature
(goto-line-relative LINE &optional BUFFER INTERACTIVE)
Documentation
Go to LINE, counting from line at (point-min).
The line number is relative to the accessible portion of the narrowed
buffer. The arguments BUFFER and INTERACTIVE are the same as in the
function goto-line.
Probably introduced at or before Emacs version 28.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun goto-line-relative (line &optional buffer interactive)
"Go to LINE, counting from line at (point-min).
The line number is relative to the accessible portion of the narrowed
buffer. The arguments BUFFER and INTERACTIVE are the same as in the
function `goto-line'."
(interactive (append (goto-line-read-args t) t))
(goto-line line buffer t interactive))