From: Martin Rudalics Date: Sun, 15 Mar 2015 19:17:09 +0000 (+0100) Subject: Fix description of fullscreen mode on MS-Windows (Bug#20110). X-Git-Tag: emacs-24.5-rc1~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c43762d;p=emacs.git Fix description of fullscreen mode on MS-Windows (Bug#20110). * efaq.texi (Fullscreen mode on MS-Windows): Fix description (Bug#20110). --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 0e43b9ffe4d..e493793bc05 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,8 +1,12 @@ +2015-03-15 Martin Rudalics + + * efaq.texi (Fullscreen mode on MS-Windows): Fix description (Bug#20110). + 2015-02-04 Kelvin White * erc.texi (Advanced Usage, Options): Add descriptions and examples for erc-format-nick-function and erc-rename-buffers options. - (Connecting): fix typo + (Connecting): Fix typo 2014-12-29 Michael Albinus diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 8f6515ae3d0..3078122d11c 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi @@ -2678,8 +2678,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