mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #1481: not a valid workspace error on +org-capture/open-frame
This commit is contained in:
@ -40,8 +40,7 @@ you're done. This can be called from an external shell script."
|
||||
(let* ((frame-title-format "")
|
||||
(frame (if (+org-capture-frame-p)
|
||||
(selected-frame)
|
||||
(let (before-make-frame-hook after-make-frame-functions)
|
||||
(make-frame +org-capture-frame-parameters)))))
|
||||
(make-frame +org-capture-frame-parameters))))
|
||||
(with-selected-frame frame
|
||||
(require 'org-capture)
|
||||
(condition-case ex
|
||||
|
Reference in New Issue
Block a user