diff options
author | Alan Pearce | 2014-07-10 19:20:32 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-10 19:20:32 +0100 |
commit | 024576a09aec23f96807df26b88db6f090e9c220 (patch) | |
tree | 6ceb40acbf3832a58682327eb80ce43e97fe42cc /tag-emacs/emacs.d | |
parent | 9db5a1e01f69bbbbe8243a2c81107cab4b3551a7 (diff) | |
download | dotfiles-024576a09aec23f96807df26b88db6f090e9c220.tar.lz dotfiles-024576a09aec23f96807df26b88db6f090e9c220.tar.zst dotfiles-024576a09aec23f96807df26b88db6f090e9c220.zip |
Emacs: workaround ws-butler daemon issue
lewang/ws-butler#4
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index aa78e33..228adeb 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -329,7 +329,10 @@ (message "File '%s' successfully removed" filename))))) (req-package ws-butler + :if window-system :config (ws-butler-global-mode 1)) +(if (daemonp) + (add-hook #'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) (req-package fasd :bind ("C-x C-/" . fasd-find-file) |