Merge pull request #165 from zwass/master
Fixing Issue 163: invalid function with-selected-frame
This commit is contained in:
commit
28635cad77
1 changed files with 3 additions and 4 deletions
|
@ -43,10 +43,9 @@
|
||||||
(defun prelude-frame-config (frame)
|
(defun prelude-frame-config (frame)
|
||||||
"Custom behaviours for new frames."
|
"Custom behaviours for new frames."
|
||||||
(if (eq system-type 'darwin)
|
(if (eq system-type 'darwin)
|
||||||
(with-selected-frame frame
|
(if (display-graphic-p)
|
||||||
(if (display-graphic-p)
|
(modify-frame-parameters frame '((menu-bar-lines . 1)))
|
||||||
(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)))
|
(menu-bar-mode -1)))
|
||||||
|
|
||||||
;; run now
|
;; run now
|
||||||
|
|
Loading…
Reference in a new issue