summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-13 01:33:27 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-13 01:33:27 +0200
commit982af7f516efb190d19946bff7bb37567328b4b9 (patch)
tree94c1c00d0b1a261761fec633206a816693d305e2
parent9645b5752a3e40754d22d9e805778e95fdc86337 (diff)
downloademacs-982af7f516efb190d19946bff7bb37567328b4b9.tar.gz
Fix warning about obsolete func calling obsolete func in etags.el
* lisp/progmodes/etags.el (find-tag-other-frame): Don't give a warning about an obsolete function calling another obsolete function.
-rw-r--r--lisp/progmodes/etags.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 910c320ab8f..7bf575340ec 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1036,7 +1036,8 @@ See documentation of variable `tags-file-name'."
(declare (obsolete xref-find-definitions-other-frame "25.1"))
(interactive (find-tag-interactive "Find tag other frame: "))
(let ((pop-up-frames t))
- (find-tag-other-window tagname next-p)))
+ (with-suppressed-warnings ((obsolete find-tag-other-window))
+ (find-tag-other-window tagname next-p))))
;;;###autoload
(defun find-tag-regexp (regexp &optional next-p other-window)