View Single Post
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#16
Originally Posted by dmg View Post
Thanks a lot! I have further configured your .emacs to avoid calling maximize-frame by hand.
Very good with the hook man!

BTW,
(setq mf-max-width 800)
(setq mf-max-height 380)

needs to be quoted out in my setup, otherwise the minibuffer ends up gigantic, 6 lines vertically or so, and will not change proportion.

The working setup is:
(add-to-list 'load-path "/path/to/maxframe.el")
;; for instance (add-to-list 'load-path "~/elisp/maxframe")
(require 'maxframe)
(add-hook 'window-setup-hook 'maximize-frame t)
(maximize-frame)