mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 06:32:53 +00:00
lisp/org-compat.el: Fix compiler warning when make single
* lisp/org-compat.el (org-switch-to-buffer-other-window): Do not use obsolete macro. Even with `with-no-warnings', a warning is emitted.
This commit is contained in:
parent
62c6d5668d
commit
344d4624e1
|
@ -681,8 +681,9 @@ This constant, for example, makes the below code not err:
|
|||
"Switch to buffer in a second window on the current frame.
|
||||
In particular, do not allow pop-up frames.
|
||||
Returns the newly created buffer."
|
||||
(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")
|
||||
(let (pop-up-frames pop-up-windows)
|
||||
(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")
|
||||
(make-obsolete 'org-refresh-effort-properties "no longer used" "9.7")
|
||||
|
|
Loading…
Reference in a new issue