summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-10-21 22:22:25 +0200
committerAlan Pearce2016-10-21 22:22:25 +0200
commitc9a5e8b8a412daa6160e0d6d64c40bd978a7259b (patch)
tree013c0b94fe2b70119d24bcdf8a9f685faaaca0dc
parent6ebfc7c5c6585836a0de12412a65b1419401301a (diff)
downloadnixfiles-c9a5e8b8a412daa6160e0d6d64c40bd978a7259b.tar.lz
nixfiles-c9a5e8b8a412daa6160e0d6d64c40bd978a7259b.tar.zst
nixfiles-c9a5e8b8a412daa6160e0d6d64c40bd978a7259b.zip
Emacs: Fix error when connecting to daemon
-rw-r--r--tag-emacs/emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 821d5af3..a0d3ba92 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