lang/org: Rename +org-capture-window-params
These are frame parameters; it is incorrect to call them window parameters.
This commit is contained in:
parent
61c44eee12
commit
60f6418db2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue