summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-08-22 19:42:58 +0000
committerGlenn Morris <rgm@gnu.org>2009-08-22 19:42:58 +0000
commit880be50e880dec91b92ca86f25461ca77291c979 (patch)
tree24b0293fb30536f67ccf0ba2f69e3ab09ec005c6 /lisp
parent1c319e77970d1ea9541106472dd02b733d8fcf4d (diff)
downloademacs-880be50e880dec91b92ca86f25461ca77291c979.tar.gz
(vi-goto-line): Don't warn about non-interactive goto-line.
Diffstat (limited to 'lisp')
-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."