Fix init for new Emacs version

This commit is contained in:
Tom Willemse 2014-10-09 23:27:21 +02:00
parent d73129105b
commit 98f38a25b8

View file

@ -652,7 +652,7 @@ For `python-mode' I prefer `python-imenu-create-flat-index'."
(add-hook 'after-make-frame-functions (add-hook 'after-make-frame-functions
(lambda (frame) (lambda (frame)
(cl-letf (((symbol-function 'display-graphic-p) (cl-letf (((symbol-function 'display-graphic-p)
(lambda () t))) (lambda (&optional display) t)))
(oni:set-theme frame)))) (oni:set-theme frame))))
(oni:eval-after-init (oni:set-theme nil))) (oni:eval-after-init (oni:set-theme nil)))