summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-04-08 10:41:53 +0300
committerEli Zaretskii <eliz@gnu.org>2023-04-08 10:41:53 +0300
commit588017927061cd95bcf2192f88917292913a7f11 (patch)
treed063d65dc587b61fe68649659e166beee299d6a5 /doc
parent88847dee125aa333b79829744eb4b16e8fd59ee8 (diff)
downloademacs-588017927061cd95bcf2192f88917292913a7f11.tar.gz
; Minor addition to the Emacs FAQ
* doc/misc/efaq.texi (Fullscreen mode on MS-Windows): Tell how to avoid the initial screen changing size on display without using the Registry. Suggested by David Hedlund <public@beloved.name>.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/efaq.texi20
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 4a8c863230f..0a0c375d273 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -3133,13 +3133,23 @@ example, you can put the following in your init file:
To avoid the slightly distracting visual effect of Emacs starting with
its default frame size and then growing to fullscreen, you can add an
-@samp{Emacs.Geometry} entry to the Windows registry settings.
-@xref{X Resources,,, emacs, The GNU Emacs Manual}.
-
-To compute the correct values for width and height, first maximize the
-Emacs frame and then evaluate @code{(frame-height)} and
+@samp{Emacs.Geometry} entry to the Windows Registry settings. @xref{X
+Resources,,, emacs, The GNU Emacs Manual}. To compute the correct
+values for width and height you use in the Registry settings, first
+maximize the Emacs frame and then evaluate @code{(frame-height)} and
@code{(frame-width)} with @kbd{M-:}.
+Alternatively, you can avoid the visual effect of Emacs changing its
+frame size entirely in your init file (i.e., without using the
+Registry), like this:
+
+@lisp
+(setq frame-resize-pixelwise t)
+(set-frame-position nil 0 0)
+(set-frame-size nil (display-pixel-width) (display-pixel-height) t)
+@end lisp
+
+
@node Emacs in a Linux console
@section How can I alleviate the limitations of the Linux console?
@cindex Console, Linux console, TTY, fbterm