Don't delete-other-windows during org-agenda popup

This commit is contained in:
Henrik Lissner 2019-06-25 11:56:50 +02:00
parent b245237b0c
commit f4ef25bb12
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -247,6 +247,7 @@ the command buffer."
(advice-add #'org-add-log-note :around #'+popup*suppress-delete-other-windows) (advice-add #'org-add-log-note :around #'+popup*suppress-delete-other-windows)
(advice-add #'org-capture-place-template :around #'+popup*suppress-delete-other-windows) (advice-add #'org-capture-place-template :around #'+popup*suppress-delete-other-windows)
(advice-add #'org-export--dispatch-ui :around #'+popup*suppress-delete-other-windows) (advice-add #'org-export--dispatch-ui :around #'+popup*suppress-delete-other-windows)
(advice-add #'org-agenda-get-restriction-and-command :around #'+popup*suppress-delete-other-windows)
(defun +popup*org-src-pop-to-buffer (orig-fn buffer context) (defun +popup*org-src-pop-to-buffer (orig-fn buffer context)
"Hand off the src-block window to the popup system by using `display-buffer' "Hand off the src-block window to the popup system by using `display-buffer'