forked from mirrors/org-mode
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 New Issue