From c9a5e8b8a412daa6160e0d6d64c40bd978a7259b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 21 Oct 2016 22:22:25 +0200 Subject: Emacs: Fix error when connecting to daemon --- tag-emacs/emacs.d/init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 821d5af..a0d3ba9 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -560,7 +560,9 @@ open it. Whitespace butler fixes whitespace only for lines that I’m editing. :diminish ws-butler-mode :config (ws-butler-global-mode 1)) (if (daemonp) - (add-hook 'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) + (add-hook 'before-make-frame-hook (lambda () + (use-package ws-butler + :config (ws-butler-global-mode 1))))) #+END_SRC ** shrink-whitespace -- cgit 1.4.1