aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-08-22 19:42:58 +0000
committerGlenn Morris2009-08-22 19:42:58 +0000
commit880be50e880dec91b92ca86f25461ca77291c979 (patch)
tree24b0293fb30536f67ccf0ba2f69e3ab09ec005c6
parent1c319e77970d1ea9541106472dd02b733d8fcf4d (diff)
downloademacs-880be50e880dec91b92ca86f25461ca77291c979.tar.gz
emacs-880be50e880dec91b92ca86f25461ca77291c979.zip
(vi-goto-line): Don't warn about non-interactive goto-line.
-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."
639 (if (null (vi-raw-numeric-prefix arg)) 639 (if (null (vi-raw-numeric-prefix arg))
640 (with-no-warnings 640 (with-no-warnings
641 (end-of-buffer)) 641 (end-of-buffer))
642 (goto-line (vi-prefix-numeric-value arg)))) 642 (with-no-warnings (goto-line (vi-prefix-numeric-value arg)))))
643 643
644(defun vi-beginning-of-buffer () 644(defun vi-beginning-of-buffer ()
645 "Move point to the beginning of current buffer." 645 "Move point to the beginning of current buffer."