Rename org-capture frame to doom-capture

To reduce likelihood of conflicts.
This commit is contained in:
Henrik Lissner 2020-03-01 01:39:14 -05:00
parent 9c07cc719d
commit cdaa55b4db
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ shift $((OPTIND-1))
if [ $daemon ]; then
emacsclient -a "" \
-c -F '((name . "org-capture") (width . 70) (height . 25) (transient . t))' \
-c -F '((name . "doom-capture") (width . 70) (height . 25) (transient . t))' \
-e "(+org-capture/open-frame \"$str\" ${key:-nil})"
else
# Non-daemon servers flicker a lot if frames are created from terminal, so we

View file

@ -11,7 +11,7 @@
;;;###autoload
(defvar +org-capture-frame-parameters
`((name . "org-capture")
`((name . "doom-capture")
(width . 70)
(height . 25)
(transient . t)
@ -29,7 +29,7 @@
(defun +org-capture-frame-p (&rest _)
"Return t if the current frame is an org-capture frame opened by
`+org-capture/open-frame'."
(and (equal "org-capture" (frame-parameter nil 'name))
(and (equal "doom-capture" (frame-parameter nil 'name))
(frame-parameter nil 'transient)))
;;;###autoload