diff options
author | Tom Willemse | 2014-02-24 08:40:00 +0100 |
---|---|---|
committer | Tom Willemse | 2014-02-24 08:40:00 +0100 |
commit | 0c895ad0de72a63035ba2ea7da754c3f8407c7a8 (patch) | |
tree | c253820cd375a7b8dfb2f79f1af992da9e38278f /.emacs.d | |
parent | bd033073e0d7e2edb1c5f2f956f944e855e48e3b (diff) | |
download | emacs-0c895ad0de72a63035ba2ea7da754c3f8407c7a8.tar.gz emacs-0c895ad0de72a63035ba2ea7da754c3f8407c7a8.zip |
Fix setting theme for non-daemon Emacs
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2783b41..6fd78f6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -693,7 +693,7 @@ For `python-mode' I prefer `python-imenu-create-flat-index'." (call-interactively func)))))) (let ((theme (if (equal system-name "drd") 'yoshi 'leuven))) - (let ((setp (not (daemonp)))) + (let (setp) (defun oni:set-theme (frame) "Try to set the theme for the current (first) frame." (ignore frame) @@ -707,7 +707,7 @@ For `python-mode' I prefer `python-imenu-create-flat-index'." (if (daemonp) (add-hook 'after-make-frame-functions #'oni:set-theme) - (oni:eval-after-init (oni:set-theme)))) + (oni:eval-after-init (oni:set-theme nil)))) (defun oni:shell-command-with-command (command &optional output-buffer) "Print both COMMAND and the output into OUTPUT-BUFFER." |