From bf9a50eaea0f4435bead050791641daf555e616e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 Jun 2019 17:21:52 +0200 Subject: [PATCH] Fix #1481: not a valid workspace error on +org-capture/open-frame --- modules/lang/org/autoload/org-capture.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index e11d46d97..f1b83b65a 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -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