emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [feature request] org-capture-window-setup to stop capture windo


From: Bernhard Pröll
Subject: Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
Date: Tue, 9 Jun 2015 14:35:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

With a lot of windows open the annoying part of =org-capture= is
=switch-to-buffer-other-window= for me. My approach is using the current
window for the capture buffer:

#+BEGIN_SRC elisp
(defadvice org-capture (around bp/org-capture--around)
  (flet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf)))
    ad-do-it))
(ad-activate 'org-capture)
#+END_SRC



reply via email to

[Prev in Thread] Current Thread [Next in Thread]