]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix one of the tags/xref warnings in viper-ex.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Jun 2019 13:21:10 +0000 (15:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Jun 2019 13:21:18 +0000 (15:21 +0200)
* lisp/emulation/viper-ex.el (ex-tag): Avoid a compilation warning
about find-tag-other-window.

lisp/emulation/viper-ex.el

index 45b91cd9c0ec1a072eb6aa4f399802ec5fa25db1..852bf0c8beb1bd93d6f2c273ad090a1a5cfa2c32 100644 (file)
@@ -2017,7 +2017,7 @@ Please contact your system administrator. "
        (progn
          (if (string= tag "")
              (find-tag ex-tag t)
-           (find-tag-other-window ex-tag))
+           (xref-find-definitions-other-window ex-tag))
          (viper-change-state-to-vi))
       (error
        (viper-change-state-to-vi)