Fix org-capture popup rules for partials & non-org files
When a capture target didn't have an *.org file extension OR its buffer was displayed before it was renamed to CAPTURE-* (e.g. while a capture template prompts for input) the popup handler fails to capture the new window, displaying it in other-window, rather than a popup.
This commit is contained in:
parent
235db17742
commit
83e0451cba
1 changed files with 1 additions and 1 deletions
|
@ -887,7 +887,7 @@ between the two."
|
||||||
("^\\*Org Agenda" :ignore t)
|
("^\\*Org Agenda" :ignore t)
|
||||||
("^\\*Org Src" :size 0.4 :quit nil :select t :autosave t :modeline t :ttl nil)
|
("^\\*Org Src" :size 0.4 :quit nil :select t :autosave t :modeline t :ttl nil)
|
||||||
("^\\*Org-Babel")
|
("^\\*Org-Babel")
|
||||||
("^CAPTURE-.*\\.org$" :size 0.25 :quit nil :select t :autosave ignore))))
|
("^\\*Capture\\*$\\|CAPTURE-.*$" :size 0.25 :quit nil :select t :autosave ignore))))
|
||||||
|
|
||||||
|
|
||||||
(defun +org-init-protocol-lazy-loader-h ()
|
(defun +org-init-protocol-lazy-loader-h ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue