summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-01-06 12:17:23 +0200
committerEli Zaretskii <eliz@gnu.org>2012-01-06 12:17:23 +0200
commit8034735f6fac4719a402face6d31e97f6c067803 (patch)
tree0cecd698854ef6fcfa985cfbd7c94536c980a209 /doc/emacs
parent4afee9d5fdc053354dc85d650e2d36094fa70209 (diff)
downloademacs-8034735f6fac4719a402face6d31e97f6c067803.tar.gz
Fix bug #10422 with Registry-related index entries.
doc/emacs/cmdargs.texi (MS-Windows Registry): Shorten the index entry. Move the stuff about resources to xresources.texi. doc/emacs/xresources.texi (Resources): Move information about setting X resources in the Registry from cmdargs.texi. Make the index entry be similar to the one in cmdargs.texi.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/ChangeLog10
-rw-r--r--doc/emacs/cmdargs.texi8
-rw-r--r--doc/emacs/xresources.texi15
3 files changed, 20 insertions, 13 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 9d6ab3ee6cf..eef7c79b819 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,13 @@
+2012-01-06 Eli Zaretskii <eliz@gnu.org>
+
+ * cmdargs.texi (MS-Windows Registry): Shorten the index entry.
+ (Bug#10422)
+ Move the stuff about resources to xresources.texi.
+
+ * xresources.texi (Resources): Move information about setting X
+ resources in the Registry from cmdargs.texi. Make the index entry
+ be similar to the one in cmdargs.texi.
+
2012-01-05 Chong Yidong <cyd@gnu.org>
* custom.texi (Customization Groups): Update example.
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index 487e3eca61b..11cc4df8ce9 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -675,9 +675,9 @@ changing any environment or registry settings.
@node MS-Windows Registry
@appendixsubsec The MS-Windows System Registry
@pindex addpm, MS-Windows installation program
-@cindex registry, setting environment variables and resources on MS-Windows
+@cindex registry, setting environment variables (MS-Windows)
-Under MS-Windows, the installation program @command{addpm.exe} adds
+On MS-Windows, the installation program @command{addpm.exe} adds
values for @env{emacs_dir}, @env{EMACSLOADPATH}, @env{EMACSDATA},
@env{EMACSPATH}, @env{EMACSDOC}, @env{SHELL} and @env{TERM} to the
@file{HKEY_LOCAL_MACHINE} section of the system registry, under
@@ -704,10 +704,6 @@ still cannot determine the values, compiled-in defaults are used.
In addition to the environment variables above, you can also add many
of the settings which on X belong in the @file{.Xdefaults} file
(@pxref{X Resources}) to the @file{/Software/GNU/Emacs} registry key.
-Settings you add to the @file{HKEY_LOCAL_MACHINE} section will affect
-all users of the machine. Settings you add to the
-@file{HKEY_CURRENT_USER} section will only affect you, and will
-override machine wide settings.
@node Display X
@appendixsec Specifying the Display Name
diff --git a/doc/emacs/xresources.texi b/doc/emacs/xresources.texi
index cacf3617fc5..7a4e4798061 100644
--- a/doc/emacs/xresources.texi
+++ b/doc/emacs/xresources.texi
@@ -51,15 +51,16 @@ 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}.
-@cindex Registry (MS-Windows)
+@cindex registry, setting resources (MS-Windows)
(MS-Windows systems do not support X resource files; on Windows,
Emacs looks for X resources in the Windows Registry, first under the
-key @samp{HKEY_CURRENT_USER\SOFTWARE\GNU\Emacs} and then under the key
-@samp{HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Emacs}. The menu and scroll
-bars are native widgets on MS-Windows, so they are only customizable
-via the system-wide settings in the Display Control Panel. You can
-also set resources using the @samp{-xrm} command line option, as
-explained below.)
+key @samp{HKEY_CURRENT_USER\SOFTWARE\GNU\Emacs}, which affects only
+the current user and override the system-wide settings, and then under
+the key @samp{HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Emacs}, which affects
+all users of the system. The menu and scroll bars are native widgets
+on MS-Windows, so they are only customizable via the system-wide
+settings in the Display Control Panel. You can also set resources
+using the @samp{-xrm} command line option, as explained below.)
Each line in the X resource file specifies a value for one option or
for a collection of related options. Each resource specification