[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7e7a010: Fix recent simple.el compilation warning
From: |
Lars Ingebrigtsen |
Subject: |
master 7e7a010: Fix recent simple.el compilation warning |
Date: |
Thu, 24 Sep 2020 09:50:34 -0400 (EDT) |
branch: master
commit 7e7a010d85f2eb037c4c8109f5bc0fdf7a4dcaac
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix recent simple.el compilation warning
* lisp/simple.el (goto-line-relative): Suppress byte compilation
warning about goto-line.
---
lisp/simple.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index 825fec3..7cb7153 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
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7e7a010: Fix recent simple.el compilation warning,
Lars Ingebrigtsen <=