From: Glenn Morris Date: Sat, 22 Aug 2009 19:42:58 +0000 (+0000) Subject: (vi-goto-line): Don't warn about non-interactive goto-line. X-Git-Tag: emacs-pretest-23.1.90~1737 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=880be50e880dec91b92ca86f25461ca77291c979;p=emacs.git (vi-goto-line): Don't warn about non-interactive goto-line. --- 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."