>From 9256af03530bcd34914f32fc1b7fbbba9cb0d80a Mon Sep 17 00:00:00 2001 From: Eric S Fraga Date: Thu, 25 Jun 2015 08:58:34 +0100 Subject: [PATCH] place capture buffer in other window * org-capture.el (org-capture-fill-template): the capture template buffer will be displayed in another window, keeping original window visible if appropriate. --- lisp/org-capture.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index eeb05ca..ac0ed6f 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1590,8 +1590,7 @@ The template may still contain \"%?\" for cursor positioning." (unless template (setq template "") (message "No template") (ding) (sit-for 1)) (save-window-excursion - (delete-other-windows) - (org-pop-to-buffer-same-window (get-buffer-create "*Capture*")) + (org-switch-to-buffer-other-window (get-buffer-create "*Capture*")) (erase-buffer) (insert template) (goto-char (point-min)) -- 1.9.1