emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Org-Capture Window Behavior


From: Ihor Radchenko
Subject: Re: Org-Capture Window Behavior
Date: Sun, 22 Sep 2024 17:47:28 +0000

Amol Vaidya <amolvaidya06@gmail.com> writes:

> I'm curious, then, why would what I've done in Test 2 nor corral it?
>
> (add-to-list 'display-buffer-alist '("\\*CAPTURE*"
> (display-buffer-same-window)))

Oops. I missed that part.

It does not work for very simple reason - "\\*CAPTURE*" regexp does not
match buffer name of the capture buffer.

Try
(add-to-list 'display-buffer-alist '("CAPTURE" display-buffer-same-window))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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