Hello, Eric S Fraga <e.fr...@ucl.ac.uk> writes:
> Thanks for this. Works okay if there is more than one window which is a > step in the right direction. In any case, you've pointed me in the > right direction and the following seems to work fine (with very limited > testing): > > 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)) > > Feedback from real emacs lisp people welcome... It looks good. Could you turn it into a proper patch with a commit message? Thank you. Regards, -- Nicolas Goaziou