]> code.delx.au - gnu-emacs/blobdiff - doc/misc/efaq.texi
Merge from origin/emacs-24
[gnu-emacs] / doc / misc / efaq.texi
index 84178277aab0712287e2838ed71cc42daabc7d66..cdf944041b65ff695a48e53e1effd092018dd181 100644 (file)
@@ -2674,8 +2674,16 @@ variable in the environment.
 @cindex Maximize frame
 @cindex Fullscreen mode
 
-Use the function @code{w32-send-sys-command}.  For example, you can
-put the following in your @file{.emacs} file:
+Beginning with Emacs 24.4 either run Emacs with the @samp{--maximized}
+command-line option or put the following form in your @file{.emacs}
+file:
+
+@lisp
+(add-hook 'emacs-startup-hook 'toggle-frame-maximized)
+@end lisp
+
+With older versions use the function @code{w32-send-sys-command}.  For
+example, you can put the following in your @file{.emacs} file:
 
 @lisp
 (add-hook 'emacs-startup-hook