Fix recent simple.el compilation warning

* lisp/simple.el (goto-line-relative): Suppress byte compilation
warning about goto-line.
This commit is contained in:
Lars Ingebrigtsen 2020-09-24 15:50:25 +02:00
parent de54cd6f0e
commit 7e7a010d85

View file

@ -1319,7 +1319,8 @@ The line number is relative to the accessible portion of the narrowed
buffer. The argument BUFFER is the same as in the function `goto-line'."
(declare (interactive-only forward-line))
(interactive (goto-line-read-args t))
(goto-line line buffer t))
(with-suppressed-warnings ((interactive-only goto-line))
(goto-line line buffer t)))
(defun count-words-region (start end &optional arg)
"Count the number of words in the region.