Skip to content

Commit

Permalink
Remove now-unused code to disable menu bar in terminal frames only
Browse files Browse the repository at this point in the history
See purcell#434, cc @YuanPres
  • Loading branch information
purcell committed May 4, 2017
1 parent 8c9f520 commit 5029a99
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lisp/init-gui-frames.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
(global-set-key (kbd "M-C-9") (lambda () (interactive) (sanityinc/adjust-opacity nil 2)))
(global-set-key (kbd "M-C-0") (lambda () (interactive) (modify-frame-parameters nil `((alpha . 100)))))

(add-hook 'after-make-frame-functions
(lambda (frame)
(with-selected-frame frame
(unless window-system
(set-frame-parameter nil 'menu-bar-lines 0)))))

(setq frame-title-format
'((:eval (if (buffer-file-name)
Expand Down

0 comments on commit 5029a99

Please sign in to comment.