Make the maxframe recipe less of a sledgehammer

Do not force all windows to be maximized just because I want maxframe
available.  Also, do not force-load maxframe; instead, autoload it.
This commit is contained in:
Dave Abrahams 2011-05-21 22:39:31 -04:00
parent 704206cc04
commit 70ae81dfdc

View File

@ -1,5 +1,9 @@
(:name maxframe
:type git
:url "http://github.com/rmm5t/maxframe.el.git"
:features maxframe
:post-init (lambda () (add-hook 'window-setup-hook 'maximize-frame)))
:post-init (lambda ()
(autoload 'maximize-frame "maxframe"
"Maximizes the frame to fit the display if under a windowing
system." t)
(autoload 'restore-frame "maxframe"
"Restores a maximized frame. See `maximize-frame'." t)))