]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence warnings about obsolete functions in obsolete/vip.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 15 Jun 2019 15:13:38 +0000 (17:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 15 Jun 2019 15:13:38 +0000 (17:13 +0200)
* lisp/obsolete/vip.el (ex-tag): Silence warnings about obsolete
functions because this is an obsolete file.

lisp/obsolete/vip.el

index bc4b90031ea5262cad62d57b345fdf7073020007..9943fb2548b2e5458cdbb98f6fda2aea5ac1f4ab 100644 (file)
@@ -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)