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)
|
||||
"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)))))
|
||||
(if (display-graphic-p)
|
||||
(modify-frame-parameters frame '((menu-bar-lines . 1)))
|
||||
(modify-frame-parameters frame '((menu-bar-lines . 0))))
|
||||
(menu-bar-mode -1)))
|
||||
|
||||
;; run now
|
||||
|
|
Loading…
Reference in a new issue