Rename org-capture frame to doom-capture
To reduce likelihood of conflicts.
This commit is contained in:
parent
9c07cc719d
commit
cdaa55b4db
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ shift $((OPTIND-1))
|
||||||
|
|
||||||
if [ $daemon ]; then
|
if [ $daemon ]; then
|
||||||
emacsclient -a "" \
|
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})"
|
-e "(+org-capture/open-frame \"$str\" ${key:-nil})"
|
||||||
else
|
else
|
||||||
# Non-daemon servers flicker a lot if frames are created from terminal, so we
|
# Non-daemon servers flicker a lot if frames are created from terminal, so we
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defvar +org-capture-frame-parameters
|
(defvar +org-capture-frame-parameters
|
||||||
`((name . "org-capture")
|
`((name . "doom-capture")
|
||||||
(width . 70)
|
(width . 70)
|
||||||
(height . 25)
|
(height . 25)
|
||||||
(transient . t)
|
(transient . t)
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
(defun +org-capture-frame-p (&rest _)
|
(defun +org-capture-frame-p (&rest _)
|
||||||
"Return t if the current frame is an org-capture frame opened by
|
"Return t if the current frame is an org-capture frame opened by
|
||||||
`+org-capture/open-frame'."
|
`+org-capture/open-frame'."
|
||||||
(and (equal "org-capture" (frame-parameter nil 'name))
|
(and (equal "doom-capture" (frame-parameter nil 'name))
|
||||||
(frame-parameter nil 'transient)))
|
(frame-parameter nil 'transient)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue