aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-09-24 15:50:25 +0200
committerLars Ingebrigtsen2020-09-24 15:50:25 +0200
commit7e7a010d85f2eb037c4c8109f5bc0fdf7a4dcaac (patch)
tree7fa29e4bfef2729ab896239f9eca9baed7da8329 /lisp
parentde54cd6f0edb3619777c17fe75560c5c84fed8a4 (diff)
downloademacs-7e7a010d85f2eb037c4c8109f5bc0fdf7a4dcaac.tar.gz
emacs-7e7a010d85f2eb037c4c8109f5bc0fdf7a4dcaac.zip
Fix recent simple.el compilation warning
* lisp/simple.el (goto-line-relative): Suppress byte compilation warning about goto-line.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 825fec380cb..7cb71530b36 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1319,7 +1319,8 @@ The line number is relative to the accessible portion of the narrowed
1319buffer. The argument BUFFER is the same as in the function `goto-line'." 1319buffer. The argument BUFFER is the same as in the function `goto-line'."
1320 (declare (interactive-only forward-line)) 1320 (declare (interactive-only forward-line))
1321 (interactive (goto-line-read-args t)) 1321 (interactive (goto-line-read-args t))
1322 (goto-line line buffer t)) 1322 (with-suppressed-warnings ((interactive-only goto-line))
1323 (goto-line line buffer t)))
1323 1324
1324(defun count-words-region (start end &optional arg) 1325(defun count-words-region (start end &optional arg)
1325 "Count the number of words in the region. 1326 "Count the number of words in the region.