win下让Emacs全屏启动

http://www.emacswiki.org/cgi-bin/wiki/FullScreen#toc6 原帖在这里。找了挺久的,其他的要不不是Win下的方案,要不就是要加其他的.el和.exe文件,这个方法最方便。

(defun jbr-init () 
"Called from term-setup-hook after the default
terminal setup is
done or directly from startup if term-setup-hook not
used.  The value
0xF030 is the command for maximizing a window." 
  (interactive)
  (w32-send-sys-command #xf030)
  (ecb-redraw-layout)
  (calendar)
)
(setq term-setup-hook 'jbr-init)
(setq window-setup-hook 'jbr-init)


加到~/.emacs

不过那个有Emacs图标的启动页木有了,我见其他很多人都禁掉了那一页,不过我却挺喜欢那个图标的。

你可能感兴趣的:(emacs,Win)