summaryrefslogtreecommitdiff
path: root/doc/misc/efaq.texi
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2015-03-15 20:17:09 +0100
committerMartin Rudalics <rudalics@gmx.at>2015-03-15 20:17:09 +0100
commitc43762dd81886382fe2caa6dc434e189bd5106d2 (patch)
tree8cee7ddc5994018fa79b64ceb582c1981db7a3dd /doc/misc/efaq.texi
parentea8cab39be1bab165377237bd30eee15e76d991a (diff)
downloademacs-c43762dd81886382fe2caa6dc434e189bd5106d2.tar.gz
Fix description of fullscreen mode on MS-Windows (Bug#20110).
* efaq.texi (Fullscreen mode on MS-Windows): Fix description (Bug#20110).
Diffstat (limited to 'doc/misc/efaq.texi')
-rw-r--r--doc/misc/efaq.texi12
1 files changed, 10 insertions, 2 deletions
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