Use :if keyword for pbcopy init
This commit is contained in:
parent
b08f993b34
commit
7caaeb1c1d
|
@ -7,6 +7,5 @@ which require an initialization must be listed explicitly in the list.")
|
||||||
|
|
||||||
(defun osx/init-pbcopy ()
|
(defun osx/init-pbcopy ()
|
||||||
(use-package pbcopy
|
(use-package pbcopy
|
||||||
:init
|
:if (not (display-graphic-p))
|
||||||
(unless (display-graphic-p)
|
:init (turn-on-pbcopy)))
|
||||||
(turn-on-pbcopy))))
|
|
||||||
|
|
Loading…
Reference in a new issue