From 4058102c7cf3b96bb125473e407877c6dd7dfd61 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 15 Jun 2019 17:13:38 +0200 Subject: [PATCH] Silence warnings about obsolete functions in obsolete/vip.el * lisp/obsolete/vip.el (ex-tag): Silence warnings about obsolete functions because this is an obsolete file. --- lisp/obsolete/vip.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/obsolete/vip.el b/lisp/obsolete/vip.el index bc4b90031ea..9943fb2548b 100644 --- a/lisp/obsolete/vip.el +++ b/lisp/obsolete/vip.el @@ -2979,9 +2979,10 @@ vip-s-string" (vip-change-mode-to-emacs) (condition-case conditions (progn - (if (string= tag "") - (find-tag ex-tag t) - (find-tag-other-window ex-tag)) + (with-suppressed-warnings ((obsolete find-tag find-tag-other-window)) + (if (string= tag "") + (find-tag ex-tag t) + (find-tag-other-window ex-tag))) (vip-change-mode-to-vi)) (error (vip-change-mode-to-vi) -- 2.39.2