changeset 104546:2bed47021053

(vi-goto-line): Don't warn about non-interactive goto-line.
author Glenn Morris <rgm@gnu.org>
date Sat, 22 Aug 2009 19:42:58 +0000
parents 6a56db2e5756
children 8c67d84c0faa
files lisp/emulation/vi.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/vi.el	Sat Aug 22 19:41:49 2009 +0000
+++ b/lisp/emulation/vi.el	Sat Aug 22 19:42:58 2009 +0000
@@ -639,7 +639,7 @@
    (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."