From 880be50e880dec91b92ca86f25461ca77291c979 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 22 Aug 2009 19:42:58 +0000 Subject: [PATCH] (vi-goto-line): Don't warn about non-interactive goto-line. --- lisp/emulation/vi.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- 2.39.2