lang/org: Rename +org-capture-window-params

These are frame parameters; it is incorrect to call them window
parameters.
This commit is contained in:
Henrik Lissner 2018-08-08 21:38:58 +02:00
parent 61c44eee12
commit 60f6418db2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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