mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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 ()
|
||||||
|
Reference in New Issue
Block a user