master c6fc5fbb7d2 1/2: ; vc-dir-next-line: Delete unneeded with-no-warnings.

Sean Whitton <[email protected]> Mon, 29 Jun 2026 06:26:45 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit c6fc5fbb7d2c87664aea8b0ecb986a8a9f619f3e
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    ; vc-dir-next-line: Delete unneeded with-no-warnings.
---
 lisp/vc/vc-dir.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 83c4fa02bdd..84872914bb5 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -736,11 +736,10 @@ information."
   "Go to the next line.
 With prefix argument ARG, move that many lines."
   (interactive "p")
-  (with-no-warnings
-    (if (vc-dir--before-dotname-p)
-        (ewoc-goto-node vc-ewoc (ewoc-nth vc-ewoc 0))
-      (ewoc-goto-next vc-ewoc arg))
-    (vc-dir-move-to-goal-column)))
+  (if (vc-dir--before-dotname-p)
+      (ewoc-goto-node vc-ewoc (ewoc-nth vc-ewoc 0))
+    (ewoc-goto-next vc-ewoc arg))
+  (vc-dir-move-to-goal-column))
 
 (defun vc-dir-previous-line (arg)
   "Go to the previous line.