summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/emulation/vi.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el
index e9c7f6e8bbd..64f610f4a13 100644
--- a/lisp/emulation/vi.el
+++ b/lisp/emulation/vi.el
@@ -639,7 +639,7 @@ insert state."
(if (null (vi-raw-numeric-prefix arg))
(with-no-warnings
(end-of-buffer))
- (goto-line (vi-prefix-numeric-value arg))))
+ (with-no-warnings (goto-line (vi-prefix-numeric-value arg)))))
(defun vi-beginning-of-buffer ()
"Move point to the beginning of current buffer."