mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: Rename +org-capture-window-params
These are frame parameters; it is incorrect to call them window parameters.
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
;; --- External frame ---------------------
|
;; --- External frame ---------------------
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defvar +org-capture-window-params
|
(defvar +org-capture-frame-parameters
|
||||||
`((name . "org-capture")
|
`((name . "org-capture")
|
||||||
(width . 70)
|
(width . 70)
|
||||||
(height . 25)
|
(height . 25)
|
||||||
@ -43,7 +43,7 @@ you're done. This can be called from an external shell script."
|
|||||||
(frame (if (+org-capture-frame-p)
|
(frame (if (+org-capture-frame-p)
|
||||||
(selected-frame)
|
(selected-frame)
|
||||||
(let (before-make-frame-hook after-make-frame-functions)
|
(let (before-make-frame-hook after-make-frame-functions)
|
||||||
(make-frame +org-capture-window-params)))))
|
(make-frame +org-capture-frame-parameters)))))
|
||||||
(with-selected-frame frame
|
(with-selected-frame frame
|
||||||
(require 'org-capture)
|
(require 'org-capture)
|
||||||
(condition-case ex
|
(condition-case ex
|
||||||
|
Reference in New Issue
Block a user