]> code.delx.au - gnu-emacs/blobdiff - doc/emacs/display.texi
* doc/emacs/display.texi (Colors): Mention list-colors-sort.
[gnu-emacs] / doc / emacs / display.texi
index 6e69b723204ee4dcac13e07ef55228c57a6bd5c5..8159b8cc6aa70fbbf996c38ca49fe6c8b7ac1229 100644 (file)
@@ -524,16 +524,18 @@ specify a color for a face---for instance, when customizing the face
 or an @dfn{RGB triplet}.
 
 @findex list-colors-display
+@vindex list-colors-sort
   A color name is a pre-defined name, such as @samp{dark orange} or
 @samp{medium sea green}.  To view a list of color names, type @kbd{M-x
-list-colors-display}.  If you run this command on a graphical display,
-it shows the full range of color names known to Emacs (these are the
-standard X11 color names, defined in X's @file{rgb.txt} file).  If you
-run the command on a text-only terminal, it shows only a small subset
-of colors that can be safely displayed on such terminals.  However,
-Emacs understands X11 color names even on text-only terminals; if a
-face is given a color specified by an X11 color name, it is displayed
-using the closest-matching terminal color.
+list-colors-display}.  To control the order in which colors are shown,
+customize @code{list-colors-sort}.  If you run this command on a
+graphical display, it shows the full range of color names known to Emacs
+(these are the standard X11 color names, defined in X's @file{rgb.txt}
+file).  If you run the command on a text-only terminal, it shows only a
+small subset of colors that can be safely displayed on such terminals.
+However, Emacs understands X11 color names even on text-only terminals;
+if a face is given a color specified by an X11 color name, it is
+displayed using the closest-matching terminal color.
 
   An RGB triplet is a string of the form @samp{#RRGGBB}.  Each of the
 R, G, and B components is a hexadecimal number specifying the