[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org e24ca9fa05 2/2: org-switch-to-buffer-other-window:
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/org e24ca9fa05 2/2: org-switch-to-buffer-other-window: Suppress compiler warning |
|
Date: |
Sun, 28 Jan 2024 15:58:29 -0500 (EST) |
branch: externals/org
commit e24ca9fa051086414581e98fb860eaa82517a291
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
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.
---
lisp/org-compat.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index e16d0cf04b..f354ffcb03 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -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")