Fixing Issue 163: invalid function with-selected-frame
The function isn't loaded when Prelude tries to start up, resulting in an error. I believe the intended effect can be achieved without its use, and this change modifies the prelude-frame-config function in accordance with this.
This commit is contained in:
parent
e30cb93db4
commit
3fadc4733c
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)))))
|
||||
(modify-frame-parameters frame '((menu-bar-lines . 0))))
|
||||
(menu-bar-mode -1)))
|
||||
|
||||
;; run now
|
||||
|
|
Loading…
Reference in a new issue