]> git.eshelyaron.com Git - emacs.git/commitdiff
(vi-goto-line): Don't warn about non-interactive goto-line.
authorGlenn Morris <rgm@gnu.org>
Sat, 22 Aug 2009 19:42:58 +0000 (19:42 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 22 Aug 2009 19:42:58 +0000 (19:42 +0000)
lisp/emulation/vi.el

index e9c7f6e8bbd921423c1c8c6a83cd255075ca1829..64f610f4a13504c8cce9ba5a0883ccf76db85926 100644 (file)
@@ -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."