summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2014-12-14 05:19:22 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2014-12-14 05:19:22 (GMT)
commitee759ac6b364f752e59c6864ebbd7bb2d30ae481 (patch)
tree0815de375f12f08c7f32cdfbb5ce9445c6e073e7 /init.el
parent9d0b429f55558fe71a4c8618a656cbc7ee8eaee2 (diff)
downloaddotemacs-ee759ac6b364f752e59c6864ebbd7bb2d30ae481.zip
dotemacs-ee759ac6b364f752e59c6864ebbd7bb2d30ae481.tar.gz
dotemacs-ee759ac6b364f752e59c6864ebbd7bb2d30ae481.tar.bz2
Try to open maximized if possible
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index a4d51da..6a70734 100644
--- a/init.el
+++ b/init.el
@@ -10,6 +10,10 @@
(when window-system
(tooltip-mode -1)
(tool-bar-mode -1))
+;; Open in full-screen of possible
+(when (fboundp 'toggle-frame-maximized)
+ (setq frame-resize-pixelwise t)
+ (toggle-frame-maximized))
(menu-bar-mode -1)
(setq warning-suppress-types nil)
(set-face-background 'default "black")