org-switch-to-buffer-other-window: Suppress compiler warning

* lisp/org-compat.el (org-switch-to-buffer-other-window): Suppress
compiler warning - we are using obsolete macro instead obsolete
function.  They will be removed together.
This commit is contained in:
Ihor Radchenko 2024-01-28 20:08:53 +01:00
parent 319563cef7
commit e24ca9fa05
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ Counting starts at 1."
"Switch to buffer in a second window on the current frame.
In particular, do not allow pop-up frames.
Returns the newly created buffer."
(org-no-popups (apply #'switch-to-buffer-other-window args)))
(with-no-warnings (org-no-popups (apply #'switch-to-buffer-other-window args))))
(make-obsolete 'org-switch-to-buffer-other-window "no longer used" "9.7")
(make-obsolete 'org-refresh-category-properties "no longer used" "9.7")