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:
parent
77e8d418a6
commit
2c5a3f413b
1 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue