summaryrefslogtreecommitdiff
path: root/lisp/obsolete/vi.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/obsolete/vi.el')
-rw-r--r--lisp/obsolete/vi.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/obsolete/vi.el b/lisp/obsolete/vi.el
index aee4f187685..df5ddfdbcf9 100644
--- a/lisp/obsolete/vi.el
+++ b/lisp/obsolete/vi.el
@@ -1386,7 +1386,7 @@ l(ines)."
(interactive "p\nc")
(cond ((char-equal region ?d) (mark-defun))
((char-equal region ?s) (mark-sexp arg))
- ((char-equal region ?b) (mark-whole-buffer))
+ ((char-equal region ?b) (with-no-warnings (mark-whole-buffer)))
((char-equal region ?p) (mark-paragraph))
((char-equal region ?P) (mark-page arg))
((char-equal region ?f) (c-mark-function))