Improve documentation of X resource loading

* doc/emacs/cmdargs.texi (Initial Options):
* doc/emacs/frames.texi (Frame Parameters):
* doc/emacs/xresources.texi (Resources): Document the
'--no-x-resources' command-line option and the fact that X
resources override .emacs settings of frame parameters.
(Bug#32975)
This commit is contained in:
Eli Zaretskii 2018-10-27 11:24:53 +03:00
parent 13132b3993
commit fc2e65ae82
3 changed files with 19 additions and 4 deletions

View file

@ -323,14 +323,20 @@ Do not display a startup screen. You can also achieve this effect by
setting the variable @code{inhibit-startup-screen} to non-@code{nil}
in your initialization file (@pxref{Entering Emacs}).
@item --no-x-resources
@opindex --no-x-resources
@cindex X resources, not loading
Do not load X resources. You can also achieve this effect by setting
the variable @code{inhibit-x-resources} to @code{t} in your
initialization file (@pxref{Resources}).
@item -Q
@opindex -Q
@itemx --quick
@opindex --quick
Start Emacs with minimum customizations. This is similar to using @samp{-q},
@samp{--no-site-file}, @samp{--no-site-lisp}, and @samp{--no-splash}
together. This also stops Emacs from processing X resources by
setting @code{inhibit-x-resources} to @code{t} (@pxref{Resources}).
Start Emacs with minimum customizations. This is similar to using
@samp{-q}, @samp{--no-site-file}, @samp{--no-site-lisp},
@samp{--no-x-resources}, and @samp{--no-splash} together..
@item -daemon
@opindex -daemon

View file

@ -934,6 +934,10 @@ the initial frame, by customizing the variable
specify colors and fonts don't affect menus and the menu bar, since
those are drawn by the toolkit and not directly by Emacs.
Frame appearance and behavior can also be customized through X
resources (@pxref{X Resources}); these override the parameters of the
initial frame specified in your init file.
Note that if you are using the desktop library to save and restore
your sessions, the frames to be restored are recorded in the desktop
file, together with their parameters. When these frames are restored,

View file

@ -46,6 +46,11 @@ this file do not take effect immediately, because the X server stores
its own list of resources; to update it, use the command
@command{xrdb}---for instance, @samp{xrdb ~/.Xdefaults}.
Settings specified via X resources in general override the
equivalent settings in Emacs init files (@pxref{Init File}), in
particular for parameters of the initial frame (@pxref{Frame
Parameters}).
@cindex registry, setting resources (MS-Windows)
(MS-Windows systems do not support X resource files; on such systems,
Emacs looks for X resources in the Windows Registry, first under the