Commit 2c5a3f41 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

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.
parent 77e8d418
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment