Merge pull request #165 from zwass/master

Fixing Issue 163: invalid function with-selected-frame
This commit is contained in:
Bozhidar Batsov 2012-06-06 01:13:01 -07:00
commit 28635cad77

View file

@ -43,10 +43,9 @@
(defun prelude-frame-config (frame)
"Custom behaviours for new frames."
(if (eq system-type 'darwin)
(with-selected-frame frame
(if (display-graphic-p)
(modify-frame-parameters frame '((menu-bar-lines . 1)))
(modify-frame-parameters frame '((menu-bar-lines . 0)))))
(modify-frame-parameters frame '((menu-bar-lines . 0))))
(menu-bar-mode -1)))
;; run now