lang/org: disable make-frame hooks in +org-capture/open-frame
This commit is contained in:
parent
5acd952c47
commit
7dd5c12b44
1 changed files with 5 additions and 3 deletions
|
@ -38,9 +38,11 @@ you're done. This can be called from an external shell script."
|
||||||
(setq string nil))
|
(setq string nil))
|
||||||
(when (and key (string-empty-p key))
|
(when (and key (string-empty-p key))
|
||||||
(setq key nil))
|
(setq key nil))
|
||||||
(let ((frame (if (+org-capture-frame-p)
|
(let* ((frame-title-format "")
|
||||||
(selected-frame)
|
(frame (if (+org-capture-frame-p)
|
||||||
(make-frame +org-capture-window-params))))
|
(selected-frame)
|
||||||
|
(let (before-make-frame-hook after-make-frame-functions)
|
||||||
|
(make-frame +org-capture-window-params)))))
|
||||||
(with-selected-frame frame
|
(with-selected-frame frame
|
||||||
(require 'org-capture)
|
(require 'org-capture)
|
||||||
(condition-case ex
|
(condition-case ex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue