]> code.delx.au - gnu-emacs/commitdiff
Declare find-tag obsolete
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 8 May 2015 00:06:42 +0000 (03:06 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 10 May 2015 17:45:37 +0000 (20:45 +0300)
* lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
xref-find-definitions.

lisp/progmodes/etags.el

index 6acafdbaba0bb88c38ca1acfcb4259ef18936f76..56818069a10de2b79a769c85ac8cde786037efad 100644 (file)
@@ -947,6 +947,7 @@ onto a ring and may be popped back to with \\[pop-tag-mark].
 Contrast this with the ring of marks gone to by the command.
 
 See documentation of variable `tags-file-name'."
+  (declare (obsolete xref-find-definitions "25.1"))
   (interactive (find-tag-interactive "Find tag: "))
   (let* ((buf (find-tag-noselect tagname next-p regexp-p))
         (pos (with-current-buffer buf (point))))