From 7caaeb1c1d38e8076e5d86d66818ab637f3863ba Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sat, 7 Feb 2015 23:27:50 -0500 Subject: [PATCH] Use :if keyword for pbcopy init --- contrib/osx/packages.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/osx/packages.el b/contrib/osx/packages.el index 088f28859..cc15e22d0 100644 --- a/contrib/osx/packages.el +++ b/contrib/osx/packages.el @@ -7,6 +7,5 @@ which require an initialization must be listed explicitly in the list.") (defun osx/init-pbcopy () (use-package pbcopy - :init - (unless (display-graphic-p) - (turn-on-pbcopy)))) + :if (not (display-graphic-p)) + :init (turn-on-pbcopy)))