1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix compilation warning in viper-exp involving tags

* lisp/emulation/viper-ex.el (ex-tag): Use xref/next-error instead
of the deprecated tags functions.
This commit is contained in:
Lars Ingebrigtsen 2019-06-20 14:02:22 +02:00
parent 77e8d418a6
commit 2c5a3f413b

View file

@ -2013,8 +2013,10 @@ Please contact your system administrator. "))))))
(condition-case conds
(progn
(if (string= tag "")
(find-tag ex-tag t)
(find-tag-other-window ex-tag))
;; If we have an *xref* window, `next-error' will take
;; us to the next definition.
(next-error)
(xref-find-definitions-other-window ex-tag))
(viper-change-state-to-vi))
(error
(viper-change-state-to-vi)