From c43762dd81886382fe2caa6dc434e189bd5106d2 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sun, 15 Mar 2015 20:17:09 +0100 Subject: [PATCH] Fix description of fullscreen mode on MS-Windows (Bug#20110). * efaq.texi (Fullscreen mode on MS-Windows): Fix description (Bug#20110). --- doc/misc/ChangeLog | 6 +++++- doc/misc/efaq.texi | 12 ++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 0e43b9ffe4..e493793bc0 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 8f6515ae3d..3078122d11 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 -- 2.39.2