emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 982af7f 6/7: Fix warning about obsolete func callin


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 982af7f 6/7: Fix warning about obsolete func calling obsolete func in etags.el
Date: Wed, 12 Jun 2019 19:45:12 -0400 (EDT)

branch: master
commit 982af7f516efb190d19946bff7bb37567328b4b9
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/progmodes/etags.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 910c320..7bf5753 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]