aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-14 09:40:40 +0000
committerGerd Moellmann2001-10-14 09:40:40 +0000
commitc061c855c8da45c25bc1fd05d4ba7e4273ce150c (patch)
tree12c47a5a68d5f4f9f4046ea9f3318004a72d2efe /src
parent79c2a4fc6894ce20dcaf10457fa264fbc668e15f (diff)
downloademacs-c061c855c8da45c25bc1fd05d4ba7e4273ce150c.tar.gz
emacs-c061c855c8da45c25bc1fd05d4ba7e4273ce150c.zip
Put doc strings in comments.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xfns.c578
2 files changed, 296 insertions, 286 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cd1615612a4..3704346ea7d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12001-10-14 Gerd Moellmann <gerd@gnu.org>
2
3 * xfns.c: Put doc strings in comments.
4
12001-10-13 Gerd Moellmann <gerd@gnu.org> 52001-10-13 Gerd Moellmann <gerd@gnu.org>
2 6
3 * lisp.h (DEFUN, DEFVAR_LISP, ...) [DOC_STRINGS_IN_COMMENTS]: 7 * lisp.h (DEFUN, DEFVAR_LISP, ...) [DOC_STRINGS_IN_COMMENTS]:
diff --git a/src/xfns.c b/src/xfns.c
index 015dd7e4ba6..6c4b68cb245 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -19,6 +19,8 @@ along with GNU Emacs; see the file COPYING. If not, write to
19the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA. */ 20Boston, MA 02111-1307, USA. */
21 21
22#define DOC_STRINGS_IN_COMMENTS
23
22#include <config.h> 24#include <config.h>
23#include <signal.h> 25#include <signal.h>
24#include <stdio.h> 26#include <stdio.h>
@@ -2639,16 +2641,16 @@ validate_x_resource_name ()
2639extern char *x_get_string_resource (); 2641extern char *x_get_string_resource ();
2640 2642
2641DEFUN ("x-get-resource", Fx_get_resource, Sx_get_resource, 2, 4, 0, 2643DEFUN ("x-get-resource", Fx_get_resource, Sx_get_resource, 2, 4, 0,
2642 "Return the value of ATTRIBUTE, of class CLASS, from the X defaults database.\n\ 2644 /* Return the value of ATTRIBUTE, of class CLASS, from the X defaults database.
2643This uses `INSTANCE.ATTRIBUTE' as the key and `Emacs.CLASS' as the\n\ 2645This uses `INSTANCE.ATTRIBUTE' as the key and `Emacs.CLASS' as the
2644class, where INSTANCE is the name under which Emacs was invoked, or\n\ 2646class, where INSTANCE is the name under which Emacs was invoked, or
2645the name specified by the `-name' or `-rn' command-line arguments.\n\ 2647the name specified by the `-name' or `-rn' command-line arguments.
2646\n\ 2648
2647The optional arguments COMPONENT and SUBCLASS add to the key and the\n\ 2649The optional arguments COMPONENT and SUBCLASS add to the key and the
2648class, respectively. You must specify both of them or neither.\n\ 2650class, respectively. You must specify both of them or neither.
2649If you specify them, the key is `INSTANCE.COMPONENT.ATTRIBUTE'\n\ 2651If you specify them, the key is `INSTANCE.COMPONENT.ATTRIBUTE'
2650and the class is `Emacs.CLASS.SUBCLASS'.") 2652and the class is `Emacs.CLASS.SUBCLASS'. */
2651 (attribute, class, component, subclass) 2653 (attribute, class, component, subclass))
2652 Lisp_Object attribute, class, component, subclass; 2654 Lisp_Object attribute, class, component, subclass;
2653{ 2655{
2654 register char *value; 2656 register char *value;
@@ -2997,13 +2999,13 @@ x_default_scroll_bar_color_parameter (f, alist, prop, xprop, xclass,
2997 2999
2998 3000
2999DEFUN ("x-parse-geometry", Fx_parse_geometry, Sx_parse_geometry, 1, 1, 0, 3001DEFUN ("x-parse-geometry", Fx_parse_geometry, Sx_parse_geometry, 1, 1, 0,
3000 "Parse an X-style geometry string STRING.\n\ 3002 /* Parse an X-style geometry string STRING.
3001Returns an alist of the form ((top . TOP), (left . LEFT) ... ).\n\ 3003Returns an alist of the form ((top . TOP), (left . LEFT) ... ).
3002The properties returned may include `top', `left', `height', and `width'.\n\ 3004The properties returned may include `top', `left', `height', and `width'.
3003The value of `left' or `top' may be an integer,\n\ 3005The value of `left' or `top' may be an integer,
3004or a list (+ N) meaning N pixels relative to top/left corner,\n\ 3006or a list (+ N) meaning N pixels relative to top/left corner,
3005or a list (- N) meaning -N pixels relative to bottom/right corner.") 3007or a list (- N) meaning -N pixels relative to bottom/right corner. */
3006 (string) 3008 (string))
3007 Lisp_Object string; 3009 Lisp_Object string;
3008{ 3010{
3009 int geometry, x, y; 3011 int geometry, x, y;
@@ -4090,16 +4092,16 @@ unwind_create_frame (frame)
4090 4092
4091DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, 4093DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
4092 1, 1, 0, 4094 1, 1, 0,
4093 "Make a new X window, which is called a \"frame\" in Emacs terms.\n\ 4095 /* Make a new X window, which is called a "frame" in Emacs terms.
4094Returns an Emacs frame object.\n\ 4096Returns an Emacs frame object.
4095ALIST is an alist of frame parameters.\n\ 4097ALIST is an alist of frame parameters.
4096If the parameters specify that the frame should not have a minibuffer,\n\ 4098If the parameters specify that the frame should not have a minibuffer,
4097and do not specify a specific minibuffer window to use,\n\ 4099and do not specify a specific minibuffer window to use,
4098then `default-minibuffer-frame' must be a frame whose minibuffer can\n\ 4100then `default-minibuffer-frame' must be a frame whose minibuffer can
4099be shared by the new frame.\n\ 4101be shared by the new frame.
4100\n\ 4102
4101This function is an internal primitive--use `make-frame' instead.") 4103This function is an internal primitive--use `make-frame' instead. */
4102 (parms) 4104 (parms))
4103 Lisp_Object parms; 4105 Lisp_Object parms;
4104{ 4106{
4105 struct frame *f; 4107 struct frame *f;
@@ -4553,9 +4555,9 @@ x_get_focus_frame (frame)
4553 following a user-command. */ 4555 following a user-command. */
4554 4556
4555DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0, 4557DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0,
4556 "Set the input focus to FRAME.\n\ 4558 /* Set the input focus to FRAME.
4557FRAME nil means use the selected frame.") 4559FRAME nil means use the selected frame. */
4558 (frame) 4560 (frame))
4559 Lisp_Object frame; 4561 Lisp_Object frame;
4560{ 4562{
4561 struct frame *f = check_x_frame (frame); 4563 struct frame *f = check_x_frame (frame);
@@ -4574,8 +4576,8 @@ FRAME nil means use the selected frame.")
4574 4576
4575 4577
4576DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0, 4578DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
4577 "Internal function called by `color-defined-p', which see.") 4579 /* Internal function called by `color-defined-p', which see. */
4578 (color, frame) 4580 (color, frame))
4579 Lisp_Object color, frame; 4581 Lisp_Object color, frame;
4580{ 4582{
4581 XColor foo; 4583 XColor foo;
@@ -4590,8 +4592,8 @@ DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
4590} 4592}
4591 4593
4592DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0, 4594DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
4593 "Internal function called by `color-values', which see.") 4595 /* Internal function called by `color-values', which see. */
4594 (color, frame) 4596 (color, frame))
4595 Lisp_Object color, frame; 4597 Lisp_Object color, frame;
4596{ 4598{
4597 XColor foo; 4599 XColor foo;
@@ -4613,8 +4615,8 @@ DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
4613} 4615}
4614 4616
4615DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0, 4617DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
4616 "Internal function called by `display-color-p', which see.") 4618 /* Internal function called by `display-color-p', which see. */
4617 (display) 4619 (display))
4618 Lisp_Object display; 4620 Lisp_Object display;
4619{ 4621{
4620 struct x_display_info *dpyinfo = check_x_display_info (display); 4622 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4636,13 +4638,13 @@ DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
4636} 4638}
4637 4639
4638DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, 4640DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p,
4639 0, 1, 0, 4641 0, 1, 0,
4640 "Return t if the X display supports shades of gray.\n\ 4642 /* Return t if the X display supports shades of gray.
4641Note that color displays do support shades of gray.\n\ 4643Note that color displays do support shades of gray.
4642The optional argument DISPLAY specifies which display to ask about.\n\ 4644The optional argument DISPLAY specifies which display to ask about.
4643DISPLAY should be either a frame or a display name (a string).\n\ 4645DISPLAY should be either a frame or a display name (a string).
4644If omitted or nil, that stands for the selected frame's display.") 4646If omitted or nil, that stands for the selected frame's display. */
4645 (display) 4647 (display))
4646 Lisp_Object display; 4648 Lisp_Object display;
4647{ 4649{
4648 struct x_display_info *dpyinfo = check_x_display_info (display); 4650 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4666,12 +4668,12 @@ If omitted or nil, that stands for the selected frame's display.")
4666} 4668}
4667 4669
4668DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, 4670DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width,
4669 0, 1, 0, 4671 0, 1, 0,
4670 "Returns the width in pixels of the X display DISPLAY.\n\ 4672 /* Returns the width in pixels of the X display DISPLAY.
4671The optional argument DISPLAY specifies which display to ask about.\n\ 4673The optional argument DISPLAY specifies which display to ask about.
4672DISPLAY should be either a frame or a display name (a string).\n\ 4674DISPLAY should be either a frame or a display name (a string).
4673If omitted or nil, that stands for the selected frame's display.") 4675If omitted or nil, that stands for the selected frame's display. */
4674 (display) 4676 (display))
4675 Lisp_Object display; 4677 Lisp_Object display;
4676{ 4678{
4677 struct x_display_info *dpyinfo = check_x_display_info (display); 4679 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4680,12 +4682,12 @@ If omitted or nil, that stands for the selected frame's display.")
4680} 4682}
4681 4683
4682DEFUN ("x-display-pixel-height", Fx_display_pixel_height, 4684DEFUN ("x-display-pixel-height", Fx_display_pixel_height,
4683 Sx_display_pixel_height, 0, 1, 0, 4685 Sx_display_pixel_height, 0, 1, 0,
4684 "Returns the height in pixels of the X display DISPLAY.\n\ 4686 /* Returns the height in pixels of the X display DISPLAY.
4685The optional argument DISPLAY specifies which display to ask about.\n\ 4687The optional argument DISPLAY specifies which display to ask about.
4686DISPLAY should be either a frame or a display name (a string).\n\ 4688DISPLAY should be either a frame or a display name (a string).
4687If omitted or nil, that stands for the selected frame's display.") 4689If omitted or nil, that stands for the selected frame's display. */
4688 (display) 4690 (display))
4689 Lisp_Object display; 4691 Lisp_Object display;
4690{ 4692{
4691 struct x_display_info *dpyinfo = check_x_display_info (display); 4693 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4694,12 +4696,12 @@ If omitted or nil, that stands for the selected frame's display.")
4694} 4696}
4695 4697
4696DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes, 4698DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes,
4697 0, 1, 0, 4699 0, 1, 0,
4698 "Returns the number of bitplanes of the X display DISPLAY.\n\ 4700 /* Returns the number of bitplanes of the X display DISPLAY.
4699The optional argument DISPLAY specifies which display to ask about.\n\ 4701The optional argument DISPLAY specifies which display to ask about.
4700DISPLAY should be either a frame or a display name (a string).\n\ 4702DISPLAY should be either a frame or a display name (a string).
4701If omitted or nil, that stands for the selected frame's display.") 4703If omitted or nil, that stands for the selected frame's display. */
4702 (display) 4704 (display))
4703 Lisp_Object display; 4705 Lisp_Object display;
4704{ 4706{
4705 struct x_display_info *dpyinfo = check_x_display_info (display); 4707 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4708,12 +4710,12 @@ If omitted or nil, that stands for the selected frame's display.")
4708} 4710}
4709 4711
4710DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells, 4712DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells,
4711 0, 1, 0, 4713 0, 1, 0,
4712 "Returns the number of color cells of the X display DISPLAY.\n\ 4714 /* Returns the number of color cells of the X display DISPLAY.
4713The optional argument DISPLAY specifies which display to ask about.\n\ 4715The optional argument DISPLAY specifies which display to ask about.
4714DISPLAY should be either a frame or a display name (a string).\n\ 4716DISPLAY should be either a frame or a display name (a string).
4715If omitted or nil, that stands for the selected frame's display.") 4717If omitted or nil, that stands for the selected frame's display. */
4716 (display) 4718 (display))
4717 Lisp_Object display; 4719 Lisp_Object display;
4718{ 4720{
4719 struct x_display_info *dpyinfo = check_x_display_info (display); 4721 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4724,12 +4726,12 @@ If omitted or nil, that stands for the selected frame's display.")
4724 4726
4725DEFUN ("x-server-max-request-size", Fx_server_max_request_size, 4727DEFUN ("x-server-max-request-size", Fx_server_max_request_size,
4726 Sx_server_max_request_size, 4728 Sx_server_max_request_size,
4727 0, 1, 0, 4729 0, 1, 0,
4728 "Returns the maximum request size of the X server of display DISPLAY.\n\ 4730 /* Returns the maximum request size of the X server of display DISPLAY.
4729The optional argument DISPLAY specifies which display to ask about.\n\ 4731The optional argument DISPLAY specifies which display to ask about.
4730DISPLAY should be either a frame or a display name (a string).\n\ 4732DISPLAY should be either a frame or a display name (a string).
4731If omitted or nil, that stands for the selected frame's display.") 4733If omitted or nil, that stands for the selected frame's display. */
4732 (display) 4734 (display))
4733 Lisp_Object display; 4735 Lisp_Object display;
4734{ 4736{
4735 struct x_display_info *dpyinfo = check_x_display_info (display); 4737 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4738,11 +4740,11 @@ If omitted or nil, that stands for the selected frame's display.")
4738} 4740}
4739 4741
4740DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0, 4742DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0,
4741 "Returns the vendor ID string of the X server of display DISPLAY.\n\ 4743 /* Returns the vendor ID string of the X server of display DISPLAY.
4742The optional argument DISPLAY specifies which display to ask about.\n\ 4744The optional argument DISPLAY specifies which display to ask about.
4743DISPLAY should be either a frame or a display name (a string).\n\ 4745DISPLAY should be either a frame or a display name (a string).
4744If omitted or nil, that stands for the selected frame's display.") 4746If omitted or nil, that stands for the selected frame's display. */
4745 (display) 4747 (display))
4746 Lisp_Object display; 4748 Lisp_Object display;
4747{ 4749{
4748 struct x_display_info *dpyinfo = check_x_display_info (display); 4750 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4753,14 +4755,15 @@ If omitted or nil, that stands for the selected frame's display.")
4753} 4755}
4754 4756
4755DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, 4757DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0,
4756 "Returns the version numbers of the X server of display DISPLAY.\n\ 4758 /* Returns the version numbers of the X server of display DISPLAY.
4757The value is a list of three integers: the major and minor\n\ 4759The value is a list of three integers: the major and minor
4758version numbers of the X Protocol in use, and the vendor-specific release\n\ 4760version numbers of the X Protocol in use, and the vendor-specific release
4759number. See also the function `x-server-vendor'.\n\n\ 4761number. See also the function `x-server-vendor'.
4760The optional argument DISPLAY specifies which display to ask about.\n\ 4762
4761DISPLAY should be either a frame or a display name (a string).\n\ 4763The optional argument DISPLAY specifies which display to ask about.
4762If omitted or nil, that stands for the selected frame's display.") 4764DISPLAY should be either a frame or a display name (a string).
4763 (display) 4765If omitted or nil, that stands for the selected frame's display. */
4766 (display))
4764 Lisp_Object display; 4767 Lisp_Object display;
4765{ 4768{
4766 struct x_display_info *dpyinfo = check_x_display_info (display); 4769 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4772,11 +4775,11 @@ If omitted or nil, that stands for the selected frame's display.")
4772} 4775}
4773 4776
4774DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0, 4777DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0,
4775 "Returns the number of screens on the X server of display DISPLAY.\n\ 4778 /* Return the number of screens on the X server of display DISPLAY.
4776The optional argument DISPLAY specifies which display to ask about.\n\ 4779The optional argument DISPLAY specifies which display to ask about.
4777DISPLAY should be either a frame or a display name (a string).\n\ 4780DISPLAY should be either a frame or a display name (a string).
4778If omitted or nil, that stands for the selected frame's display.") 4781If omitted or nil, that stands for the selected frame's display. */
4779 (display) 4782 (display))
4780 Lisp_Object display; 4783 Lisp_Object display;
4781{ 4784{
4782 struct x_display_info *dpyinfo = check_x_display_info (display); 4785 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4785,11 +4788,11 @@ If omitted or nil, that stands for the selected frame's display.")
4785} 4788}
4786 4789
4787DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0, 4790DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0,
4788 "Returns the height in millimeters of the X display DISPLAY.\n\ 4791 /* Return the height in millimeters of the X display DISPLAY.
4789The optional argument DISPLAY specifies which display to ask about.\n\ 4792The optional argument DISPLAY specifies which display to ask about.
4790DISPLAY should be either a frame or a display name (a string).\n\ 4793DISPLAY should be either a frame or a display name (a string).
4791If omitted or nil, that stands for the selected frame's display.") 4794If omitted or nil, that stands for the selected frame's display. */
4792 (display) 4795 (display))
4793 Lisp_Object display; 4796 Lisp_Object display;
4794{ 4797{
4795 struct x_display_info *dpyinfo = check_x_display_info (display); 4798 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4798,11 +4801,11 @@ If omitted or nil, that stands for the selected frame's display.")
4798} 4801}
4799 4802
4800DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0, 4803DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
4801 "Returns the width in millimeters of the X display DISPLAY.\n\ 4804 /* Return the width in millimeters of the X display DISPLAY.
4802The optional argument DISPLAY specifies which display to ask about.\n\ 4805The optional argument DISPLAY specifies which display to ask about.
4803DISPLAY should be either a frame or a display name (a string).\n\ 4806DISPLAY should be either a frame or a display name (a string).
4804If omitted or nil, that stands for the selected frame's display.") 4807If omitted or nil, that stands for the selected frame's display. */
4805 (display) 4808 (display))
4806 Lisp_Object display; 4809 Lisp_Object display;
4807{ 4810{
4808 struct x_display_info *dpyinfo = check_x_display_info (display); 4811 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4811,13 +4814,13 @@ If omitted or nil, that stands for the selected frame's display.")
4811} 4814}
4812 4815
4813DEFUN ("x-display-backing-store", Fx_display_backing_store, 4816DEFUN ("x-display-backing-store", Fx_display_backing_store,
4814 Sx_display_backing_store, 0, 1, 0, 4817 Sx_display_backing_store, 0, 1, 0,
4815 "Returns an indication of whether X display DISPLAY does backing store.\n\ 4818 /* Returns an indication of whether X display DISPLAY does backing store.
4816The value may be `always', `when-mapped', or `not-useful'.\n\ 4819The value may be `always', `when-mapped', or `not-useful'.
4817The optional argument DISPLAY specifies which display to ask about.\n\ 4820The optional argument DISPLAY specifies which display to ask about.
4818DISPLAY should be either a frame or a display name (a string).\n\ 4821DISPLAY should be either a frame or a display name (a string).
4819If omitted or nil, that stands for the selected frame's display.") 4822If omitted or nil, that stands for the selected frame's display. */
4820 (display) 4823 (display))
4821 Lisp_Object display; 4824 Lisp_Object display;
4822{ 4825{
4823 struct x_display_info *dpyinfo = check_x_display_info (display); 4826 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4846,14 +4849,15 @@ If omitted or nil, that stands for the selected frame's display.")
4846} 4849}
4847 4850
4848DEFUN ("x-display-visual-class", Fx_display_visual_class, 4851DEFUN ("x-display-visual-class", Fx_display_visual_class,
4849 Sx_display_visual_class, 0, 1, 0, 4852 Sx_display_visual_class, 0, 1, 0,
4850 "Returns the visual class of the X display DISPLAY.\n\ 4853 /* Return the visual class of the X display DISPLAY.
4851The value is one of the symbols `static-gray', `gray-scale',\n\ 4854The value is one of the symbols `static-gray', `gray-scale',
4852`static-color', `pseudo-color', `true-color', or `direct-color'.\n\n\ 4855`static-color', `pseudo-color', `true-color', or `direct-color'.
4853The optional argument DISPLAY specifies which display to ask about.\n\ 4856
4854DISPLAY should be either a frame or a display name (a string).\n\ 4857The optional argument DISPLAY specifies which display to ask about.
4855If omitted or nil, that stands for the selected frame's display.") 4858DISPLAY should be either a frame or a display name (a string).
4856 (display) 4859If omitted or nil, that stands for the selected frame's display. */
4860 (display))
4857 Lisp_Object display; 4861 Lisp_Object display;
4858{ 4862{
4859 struct x_display_info *dpyinfo = check_x_display_info (display); 4863 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -4888,12 +4892,12 @@ If omitted or nil, that stands for the selected frame's display.")
4888} 4892}
4889 4893
4890DEFUN ("x-display-save-under", Fx_display_save_under, 4894DEFUN ("x-display-save-under", Fx_display_save_under,
4891 Sx_display_save_under, 0, 1, 0, 4895 Sx_display_save_under, 0, 1, 0,
4892 "Returns t if the X display DISPLAY supports the save-under feature.\n\ 4896 /* Returns t if the X display DISPLAY supports the save-under feature.
4893The optional argument DISPLAY specifies which display to ask about.\n\ 4897The optional argument DISPLAY specifies which display to ask about.
4894DISPLAY should be either a frame or a display name (a string).\n\ 4898DISPLAY should be either a frame or a display name (a string).
4895If omitted or nil, that stands for the selected frame's display.") 4899If omitted or nil, that stands for the selected frame's display. */
4896 (display) 4900 (display))
4897 Lisp_Object display; 4901 Lisp_Object display;
4898{ 4902{
4899 struct x_display_info *dpyinfo = check_x_display_info (display); 4903 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -5109,12 +5113,13 @@ x_display_info_for_name (name)
5109 5113
5110 5114
5111DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection, 5115DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection,
5112 1, 3, 0, "Open a connection to an X server.\n\ 5116 1, 3, 0,
5113DISPLAY is the name of the display to connect to.\n\ 5117 /* Open a connection to an X server.
5114Optional second arg XRM-STRING is a string of resources in xrdb format.\n\ 5118DISPLAY is the name of the display to connect to.
5115If the optional third arg MUST-SUCCEED is non-nil,\n\ 5119Optional second arg XRM-STRING is a string of resources in xrdb format.
5116terminate Emacs if we can't open the connection.") 5120If the optional third arg MUST-SUCCEED is non-nil,
5117 (display, xrm_string, must_succeed) 5121terminate Emacs if we can't open the connection. */
5122 (display, xrm_string, must_succeed))
5118 Lisp_Object display, xrm_string, must_succeed; 5123 Lisp_Object display, xrm_string, must_succeed;
5119{ 5124{
5120 unsigned char *xrm_option; 5125 unsigned char *xrm_option;
@@ -5142,9 +5147,9 @@ terminate Emacs if we can't open the connection.")
5142 if (dpyinfo == 0) 5147 if (dpyinfo == 0)
5143 { 5148 {
5144 if (!NILP (must_succeed)) 5149 if (!NILP (must_succeed))
5145 fatal ("Cannot connect to X server %s.\n\ 5150 fatal ("Cannot connect to X server %s.
5146Check the DISPLAY environment variable or use `-d'.\n\ 5151Check the DISPLAY environment variable or use `-d'.
5147Also use the `xhost' program to verify that it is set to permit\n\ 5152Also use the `xhost' program to verify that it is set to permit
5148connections from your machine.\n", 5153connections from your machine.\n",
5149 XSTRING (display)->data); 5154 XSTRING (display)->data);
5150 else 5155 else
@@ -5159,11 +5164,11 @@ connections from your machine.\n",
5159 5164
5160DEFUN ("x-close-connection", Fx_close_connection, 5165DEFUN ("x-close-connection", Fx_close_connection,
5161 Sx_close_connection, 1, 1, 0, 5166 Sx_close_connection, 1, 1, 0,
5162 "Close the connection to DISPLAY's X server.\n\ 5167 /* Close the connection to DISPLAY's X server.
5163For DISPLAY, specify either a frame or a display name (a string).\n\ 5168For DISPLAY, specify either a frame or a display name (a string).
5164If DISPLAY is nil, that stands for the selected frame's display.") 5169If DISPLAY is nil, that stands for the selected frame's display. */
5165 (display) 5170 (display))
5166 Lisp_Object display; 5171 Lisp_Object display;
5167{ 5172{
5168 struct x_display_info *dpyinfo = check_x_display_info (display); 5173 struct x_display_info *dpyinfo = check_x_display_info (display);
5169 int i; 5174 int i;
@@ -5198,8 +5203,8 @@ If DISPLAY is nil, that stands for the selected frame's display.")
5198} 5203}
5199 5204
5200DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0, 5205DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0,
5201 "Return the list of display names that Emacs has connections to.") 5206 /* Return the list of display names that Emacs has connections to. */
5202 () 5207 ())
5203{ 5208{
5204 Lisp_Object tail, result; 5209 Lisp_Object tail, result;
5205 5210
@@ -5211,15 +5216,15 @@ DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0,
5211} 5216}
5212 5217
5213DEFUN ("x-synchronize", Fx_synchronize, Sx_synchronize, 1, 2, 0, 5218DEFUN ("x-synchronize", Fx_synchronize, Sx_synchronize, 1, 2, 0,
5214 "If ON is non-nil, report X errors as soon as the erring request is made.\n\ 5219 /* If ON is non-nil, report X errors as soon as the erring request is made.
5215If ON is nil, allow buffering of requests.\n\ 5220If ON is nil, allow buffering of requests.
5216Turning on synchronization prohibits the Xlib routines from buffering\n\ 5221Turning on synchronization prohibits the Xlib routines from buffering
5217requests and seriously degrades performance, but makes debugging much\n\ 5222requests and seriously degrades performance, but makes debugging much
5218easier.\n\ 5223easier.
5219The optional second argument DISPLAY specifies which display to act on.\n\ 5224The optional second argument DISPLAY specifies which display to act on.
5220DISPLAY should be either a frame or a display name (a string).\n\ 5225DISPLAY should be either a frame or a display name (a string).
5221If DISPLAY is omitted or nil, that stands for the selected frame's display.") 5226If DISPLAY is omitted or nil, that stands for the selected frame's display. */
5222 (on, display) 5227 (on, display))
5223 Lisp_Object display, on; 5228 Lisp_Object display, on;
5224{ 5229{
5225 struct x_display_info *dpyinfo = check_x_display_info (display); 5230 struct x_display_info *dpyinfo = check_x_display_info (display);
@@ -5598,12 +5603,12 @@ image_spec_value (spec, key, found)
5598 5603
5599 5604
5600DEFUN ("image-size", Fimage_size, Simage_size, 1, 3, 0, 5605DEFUN ("image-size", Fimage_size, Simage_size, 1, 3, 0,
5601 "Return the size of image SPEC as pair (WIDTH . HEIGHT).\n\ 5606 /* Return the size of image SPEC as pair (WIDTH . HEIGHT).
5602PIXELS non-nil means return the size in pixels, otherwise return the\n\ 5607PIXELS non-nil means return the size in pixels, otherwise return the
5603size in canonical character units.\n\ 5608size in canonical character units.
5604FRAME is the frame on which the image will be displayed. FRAME nil\n\ 5609FRAME is the frame on which the image will be displayed. FRAME nil
5605or omitted means use the selected frame.") 5610or omitted means use the selected frame. */
5606 (spec, pixels, frame) 5611 (spec, pixels, frame))
5607 Lisp_Object spec, pixels, frame; 5612 Lisp_Object spec, pixels, frame;
5608{ 5613{
5609 Lisp_Object size; 5614 Lisp_Object size;
@@ -5631,10 +5636,10 @@ or omitted means use the selected frame.")
5631 5636
5632 5637
5633DEFUN ("image-mask-p", Fimage_mask_p, Simage_mask_p, 1, 2, 0, 5638DEFUN ("image-mask-p", Fimage_mask_p, Simage_mask_p, 1, 2, 0,
5634 "Return t if image SPEC has a mask bitmap.\n\ 5639 /* Return t if image SPEC has a mask bitmap.
5635FRAME is the frame on which the image will be displayed. FRAME nil\n\ 5640FRAME is the frame on which the image will be displayed. FRAME nil
5636or omitted means use the selected frame.") 5641or omitted means use the selected frame. */
5637 (spec, frame) 5642 (spec, frame))
5638 Lisp_Object spec, frame; 5643 Lisp_Object spec, frame;
5639{ 5644{
5640 Lisp_Object mask; 5645 Lisp_Object mask;
@@ -5977,10 +5982,10 @@ clear_image_cache (f, force_p)
5977 5982
5978DEFUN ("clear-image-cache", Fclear_image_cache, Sclear_image_cache, 5983DEFUN ("clear-image-cache", Fclear_image_cache, Sclear_image_cache,
5979 0, 1, 0, 5984 0, 1, 0,
5980 "Clear the image cache of FRAME.\n\ 5985 /* Clear the image cache of FRAME.
5981FRAME nil or omitted means use the selected frame.\n\ 5986FRAME nil or omitted means use the selected frame.
5982FRAME t means clear the image caches of all frames.") 5987FRAME t means clear the image caches of all frames. */
5983 (frame) 5988 (frame))
5984 Lisp_Object frame; 5989 Lisp_Object frame;
5985{ 5990{
5986 if (EQ (frame, Qt)) 5991 if (EQ (frame, Qt))
@@ -10242,10 +10247,10 @@ x_kill_gs_process (pixmap, f)
10242 10247
10243DEFUN ("x-change-window-property", Fx_change_window_property, 10248DEFUN ("x-change-window-property", Fx_change_window_property,
10244 Sx_change_window_property, 2, 3, 0, 10249 Sx_change_window_property, 2, 3, 0,
10245 "Change window property PROP to VALUE on the X window of FRAME.\n\ 10250 /* Change window property PROP to VALUE on the X window of FRAME.
10246PROP and VALUE must be strings. FRAME nil or omitted means use the\n\ 10251PROP and VALUE must be strings. FRAME nil or omitted means use the
10247selected frame. Value is VALUE.") 10252selected frame. Value is VALUE. */
10248 (prop, value, frame) 10253 (prop, value, frame))
10249 Lisp_Object frame, prop, value; 10254 Lisp_Object frame, prop, value;
10250{ 10255{
10251 struct frame *f = check_x_frame (frame); 10256 struct frame *f = check_x_frame (frame);
@@ -10270,9 +10275,9 @@ selected frame. Value is VALUE.")
10270 10275
10271DEFUN ("x-delete-window-property", Fx_delete_window_property, 10276DEFUN ("x-delete-window-property", Fx_delete_window_property,
10272 Sx_delete_window_property, 1, 2, 0, 10277 Sx_delete_window_property, 1, 2, 0,
10273 "Remove window property PROP from X window of FRAME.\n\ 10278 /* Remove window property PROP from X window of FRAME.
10274FRAME nil or omitted means use the selected frame. Value is PROP.") 10279FRAME nil or omitted means use the selected frame. Value is PROP. */
10275 (prop, frame) 10280 (prop, frame))
10276 Lisp_Object prop, frame; 10281 Lisp_Object prop, frame;
10277{ 10282{
10278 struct frame *f = check_x_frame (frame); 10283 struct frame *f = check_x_frame (frame);
@@ -10293,11 +10298,11 @@ FRAME nil or omitted means use the selected frame. Value is PROP.")
10293 10298
10294DEFUN ("x-window-property", Fx_window_property, Sx_window_property, 10299DEFUN ("x-window-property", Fx_window_property, Sx_window_property,
10295 1, 2, 0, 10300 1, 2, 0,
10296 "Value is the value of window property PROP on FRAME.\n\ 10301 /* Value is the value of window property PROP on FRAME.
10297If FRAME is nil or omitted, use the selected frame. Value is nil\n\ 10302If FRAME is nil or omitted, use the selected frame. Value is nil
10298if FRAME hasn't a property with name PROP or if PROP has no string\n\ 10303if FRAME hasn't a property with name PROP or if PROP has no string
10299value.") 10304value. */
10300 (prop, frame) 10305 (prop, frame))
10301 Lisp_Object prop, frame; 10306 Lisp_Object prop, frame;
10302{ 10307{
10303 struct frame *f = check_x_frame (frame); 10308 struct frame *f = check_x_frame (frame);
@@ -10936,28 +10941,28 @@ compute_tip_xy (f, parms, dx, dy, width, height, root_x, root_y)
10936 10941
10937 10942
10938DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0, 10943DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0,
10939 "Show STRING in a \"tooltip\" window on frame FRAME.\n\ 10944 /* Show STRING in a "tooltip" window on frame FRAME.
10940A tooltip window is a small X window displaying a string.\n\ 10945A tooltip window is a small X window displaying a string.
10941\n\ 10946
10942FRAME nil or omitted means use the selected frame.\n\ 10947FRAME nil or omitted means use the selected frame.
10943\n\ 10948
10944PARMS is an optional list of frame parameters which can be\n\ 10949PARMS is an optional list of frame parameters which can be used to
10945used to change the tooltip's appearance.\n\ 10950change the tooltip's appearance.
10946\n\ 10951
10947Automatically hide the tooltip after TIMEOUT seconds.\n\ 10952Automatically hide the tooltip after TIMEOUT seconds. TIMEOUT nil
10948TIMEOUT nil means use the default timeout of 5 seconds.\n\ 10953means use the default timeout of 5 seconds.
10949\n\ 10954
10950If the list of frame parameters PARAMS contains a `left' parameters,\n\ 10955If the list of frame parameters PARAMS contains a `left' parameters,
10951the tooltip is displayed at that x-position. Otherwise it is\n\ 10956the tooltip is displayed at that x-position. Otherwise it is
10952displayed at the mouse position, with offset DX added (default is 5 if\n\ 10957displayed at the mouse position, with offset DX added (default is 5 if
10953DX isn't specified). Likewise for the y-position; if a `top' frame\n\ 10958DX isn't specified). Likewise for the y-position; if a `top' frame
10954parameter is specified, it determines the y-position of the tooltip\n\ 10959parameter is specified, it determines the y-position of the tooltip
10955window, otherwise it is displayed at the mouse position, with offset\n\ 10960window, otherwise it is displayed at the mouse position, with offset
10956DY added (default is -10).\n\ 10961DY added (default is -10).
10957\n\ 10962
10958A tooltip's maximum size is specified by `x-max-tooltip-size'.\n\ 10963A tooltip's maximum size is specified by `x-max-tooltip-size'.
10959Text larger than the specified size is clipped.") 10964Text larger than the specified size is clipped. */
10960 (string, frame, parms, timeout, dx, dy) 10965 (string, frame, parms, timeout, dx, dy))
10961 Lisp_Object string, frame, parms, timeout, dx, dy; 10966 Lisp_Object string, frame, parms, timeout, dx, dy;
10962{ 10967{
10963 struct frame *f; 10968 struct frame *f;
@@ -11145,9 +11150,9 @@ Text larger than the specified size is clipped.")
11145 11150
11146 11151
11147DEFUN ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0, 11152DEFUN ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0,
11148 "Hide the current tooltip window, if there is any.\n\ 11153 /* Hide the current tooltip window, if there is any.
11149Value is t if tooltip was open, nil otherwise.") 11154Value is t if tooltip was open, nil otherwise. */
11150 () 11155 ())
11151{ 11156{
11152 int count; 11157 int count;
11153 Lisp_Object deleted, frame, timer; 11158 Lisp_Object deleted, frame, timer;
@@ -11235,12 +11240,12 @@ file_dialog_unmap_cb (widget, client_data, call_data)
11235 11240
11236 11241
11237DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 4, 0, 11242DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 4, 0,
11238 "Read file name, prompting with PROMPT in directory DIR.\n\ 11243 /* Read file name, prompting with PROMPT in directory DIR.
11239Use a file selection dialog.\n\ 11244Use a file selection dialog.
11240Select DEFAULT-FILENAME in the dialog's file selection box, if\n\ 11245Select DEFAULT-FILENAME in the dialog's file selection box, if
11241specified. Don't let the user enter a file name in the file\n\ 11246specified. Don't let the user enter a file name in the file
11242selection dialog's entry field, if MUSTMATCH is non-nil.") 11247selection dialog's entry field, if MUSTMATCH is non-nil. */
11243 (prompt, dir, default_filename, mustmatch) 11248 (prompt, dir, default_filename, mustmatch))
11244 Lisp_Object prompt, dir, default_filename, mustmatch; 11249 Lisp_Object prompt, dir, default_filename, mustmatch;
11245{ 11250{
11246 int result; 11251 int result;
@@ -11393,11 +11398,11 @@ selection dialog's entry field, if MUSTMATCH is non-nil.")
11393 11398
11394DEFUN ("x-backspace-delete-keys-p", Fx_backspace_delete_keys_p, 11399DEFUN ("x-backspace-delete-keys-p", Fx_backspace_delete_keys_p,
11395 Sx_backspace_delete_keys_p, 0, 1, 0, 11400 Sx_backspace_delete_keys_p, 0, 1, 0,
11396 "Check if both Backspace and Delete keys are on the keyboard of FRAME.\n\ 11401 /* Check if both Backspace and Delete keys are on the keyboard of FRAME.
11397FRAME nil means use the selected frame.\n\ 11402FRAME nil means use the selected frame.
11398Value is t if we know that both keys are present, and are mapped to the\n\ 11403Value is t if we know that both keys are present, and are mapped to the
11399usual X keysyms.") 11404usual X keysyms. */
11400 (frame) 11405 (frame))
11401 Lisp_Object frame; 11406 Lisp_Object frame;
11402{ 11407{
11403#ifdef HAVE_XKBGETKEYBOARD 11408#ifdef HAVE_XKBGETKEYBOARD
@@ -11590,122 +11595,123 @@ syms_of_xfns ()
11590 11595
11591 init_x_parm_symbols (); 11596 init_x_parm_symbols ();
11592 11597
11593 DEFVAR_BOOL ("cross-disabled-images", &cross_disabled_images, 11598 DEFVAR_BOOL ("cross-disabled-images", &cross_disabled_images
11594 "Non-nil means always draw a cross over disabled images.\n\ 11599 /* Non-nil means always draw a cross over disabled images.
11595Disabled images are those having an `:conversion disabled' property.\n\ 11600Disabled images are those having an `:conversion disabled' property.
11596A cross is always drawn on black & white displays."); 11601A cross is always drawn on black & white displays. */);
11597 cross_disabled_images = 0; 11602 cross_disabled_images = 0;
11598 11603
11599 DEFVAR_LISP ("x-bitmap-file-path", &Vx_bitmap_file_path, 11604 DEFVAR_LISP ("x-bitmap-file-path", &Vx_bitmap_file_path
11600 "List of directories to search for bitmap files for X."); 11605 /* List of directories to search for bitmap files for X. */);
11601 Vx_bitmap_file_path = decode_env_path ((char *) 0, PATH_BITMAPS); 11606 Vx_bitmap_file_path = decode_env_path ((char *) 0, PATH_BITMAPS);
11602 11607
11603 DEFVAR_LISP ("x-pointer-shape", &Vx_pointer_shape, 11608 DEFVAR_LISP ("x-pointer-shape", &Vx_pointer_shape
11604 "The shape of the pointer when over text.\n\ 11609 /* The shape of the pointer when over text.
11605Changing the value does not affect existing frames\n\ 11610Changing the value does not affect existing frames
11606unless you set the mouse color."); 11611unless you set the mouse color. */);
11607 Vx_pointer_shape = Qnil; 11612 Vx_pointer_shape = Qnil;
11608 11613
11609 DEFVAR_LISP ("x-resource-name", &Vx_resource_name, 11614 DEFVAR_LISP ("x-resource-name", &Vx_resource_name
11610 "The name Emacs uses to look up X resources.\n\ 11615 /* The name Emacs uses to look up X resources.
11611`x-get-resource' uses this as the first component of the instance name\n\ 11616`x-get-resource' uses this as the first component of the instance name
11612when requesting resource values.\n\ 11617when requesting resource values.
11613Emacs initially sets `x-resource-name' to the name under which Emacs\n\ 11618Emacs initially sets `x-resource-name' to the name under which Emacs
11614was invoked, or to the value specified with the `-name' or `-rn'\n\ 11619was invoked, or to the value specified with the `-name' or `-rn'
11615switches, if present.\n\ 11620switches, if present.
11616\n\ 11621
11617It may be useful to bind this variable locally around a call\n\ 11622It may be useful to bind this variable locally around a call
11618to `x-get-resource'. See also the variable `x-resource-class'."); 11623to `x-get-resource'. See also the variable `x-resource-class'. */);
11619 Vx_resource_name = Qnil; 11624 Vx_resource_name = Qnil;
11620 11625
11621 DEFVAR_LISP ("x-resource-class", &Vx_resource_class, 11626 DEFVAR_LISP ("x-resource-class", &Vx_resource_class
11622 "The class Emacs uses to look up X resources.\n\ 11627 /* The class Emacs uses to look up X resources.
11623`x-get-resource' uses this as the first component of the instance class\n\ 11628`x-get-resource' uses this as the first component of the instance class
11624when requesting resource values.\n\ 11629when requesting resource values.
11625Emacs initially sets `x-resource-class' to \"Emacs\".\n\ 11630
11626\n\ 11631Emacs initially sets `x-resource-class' to "Emacs".
11627Setting this variable permanently is not a reasonable thing to do,\n\ 11632
11628but binding this variable locally around a call to `x-get-resource'\n\ 11633Setting this variable permanently is not a reasonable thing to do,
11629is a reasonable practice. See also the variable `x-resource-name'."); 11634but binding this variable locally around a call to `x-get-resource'
11635is a reasonable practice. See also the variable `x-resource-name'. */);
11630 Vx_resource_class = build_string (EMACS_CLASS); 11636 Vx_resource_class = build_string (EMACS_CLASS);
11631 11637
11632#if 0 /* This doesn't really do anything. */ 11638#if 0 /* This doesn't really do anything. */
11633 DEFVAR_LISP ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape, 11639 DEFVAR_LISP ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape
11634 "The shape of the pointer when not over text.\n\ 11640 /* The shape of the pointer when not over text.
11635This variable takes effect when you create a new frame\n\ 11641This variable takes effect when you create a new frame
11636or when you set the mouse color."); 11642or when you set the mouse color. */);
11637#endif 11643#endif
11638 Vx_nontext_pointer_shape = Qnil; 11644 Vx_nontext_pointer_shape = Qnil;
11639 11645
11640 DEFVAR_LISP ("x-hourglass-pointer-shape", &Vx_hourglass_pointer_shape, 11646 DEFVAR_LISP ("x-hourglass-pointer-shape", &Vx_hourglass_pointer_shape
11641 "The shape of the pointer when Emacs is busy.\n\ 11647 /* The shape of the pointer when Emacs is busy.
11642This variable takes effect when you create a new frame\n\ 11648This variable takes effect when you create a new frame
11643or when you set the mouse color."); 11649or when you set the mouse color. */);
11644 Vx_hourglass_pointer_shape = Qnil; 11650 Vx_hourglass_pointer_shape = Qnil;
11645 11651
11646 DEFVAR_BOOL ("display-hourglass", &display_hourglass_p, 11652 DEFVAR_BOOL ("display-hourglass", &display_hourglass_p
11647 "Non-zero means Emacs displays an hourglass pointer on window systems."); 11653 /* Non-zero means Emacs displays an hourglass pointer on window systems. */);
11648 display_hourglass_p = 1; 11654 display_hourglass_p = 1;
11649 11655
11650 DEFVAR_LISP ("hourglass-delay", &Vhourglass_delay, 11656 DEFVAR_LISP ("hourglass-delay", &Vhourglass_delay
11651 "*Seconds to wait before displaying an hourglass pointer.\n\ 11657 /* *Seconds to wait before displaying an hourglass pointer.
11652Value must be an integer or float."); 11658Value must be an integer or float. */);
11653 Vhourglass_delay = make_number (DEFAULT_HOURGLASS_DELAY); 11659 Vhourglass_delay = make_number (DEFAULT_HOURGLASS_DELAY);
11654 11660
11655#if 0 /* This doesn't really do anything. */ 11661#if 0 /* This doesn't really do anything. */
11656 DEFVAR_LISP ("x-mode-pointer-shape", &Vx_mode_pointer_shape, 11662 DEFVAR_LISP ("x-mode-pointer-shape", &Vx_mode_pointer_shape
11657 "The shape of the pointer when over the mode line.\n\ 11663 /* The shape of the pointer when over the mode line.
11658This variable takes effect when you create a new frame\n\ 11664This variable takes effect when you create a new frame
11659or when you set the mouse color."); 11665or when you set the mouse color. */);
11660#endif 11666#endif
11661 Vx_mode_pointer_shape = Qnil; 11667 Vx_mode_pointer_shape = Qnil;
11662 11668
11663 DEFVAR_LISP ("x-sensitive-text-pointer-shape", 11669 DEFVAR_LISP ("x-sensitive-text-pointer-shape",
11664 &Vx_sensitive_text_pointer_shape, 11670 &Vx_sensitive_text_pointer_shape
11665 "The shape of the pointer when over mouse-sensitive text.\n\ 11671 /* The shape of the pointer when over mouse-sensitive text.
11666This variable takes effect when you create a new frame\n\ 11672This variable takes effect when you create a new frame
11667or when you set the mouse color."); 11673or when you set the mouse color. */);
11668 Vx_sensitive_text_pointer_shape = Qnil; 11674 Vx_sensitive_text_pointer_shape = Qnil;
11669 11675
11670 DEFVAR_LISP ("x-window-horizontal-drag-cursor", 11676 DEFVAR_LISP ("x-window-horizontal-drag-cursor",
11671 &Vx_window_horizontal_drag_shape, 11677 &Vx_window_horizontal_drag_shape
11672 "Pointer shape to use for indicating a window can be dragged horizontally.\n\ 11678 /* Pointer shape to use for indicating a window can be dragged horizontally.
11673This variable takes effect when you create a new frame\n\ 11679This variable takes effect when you create a new frame
11674or when you set the mouse color."); 11680or when you set the mouse color. */);
11675 Vx_window_horizontal_drag_shape = Qnil; 11681 Vx_window_horizontal_drag_shape = Qnil;
11676 11682
11677 DEFVAR_LISP ("x-cursor-fore-pixel", &Vx_cursor_fore_pixel, 11683 DEFVAR_LISP ("x-cursor-fore-pixel", &Vx_cursor_fore_pixel
11678 "A string indicating the foreground color of the cursor box."); 11684 /* A string indicating the foreground color of the cursor box. */);
11679 Vx_cursor_fore_pixel = Qnil; 11685 Vx_cursor_fore_pixel = Qnil;
11680 11686
11681 DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, 11687 DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size
11682 "Maximum size for tooltips. Value is a pair (COLUMNS . ROWS).\n\ 11688 /* Maximum size for tooltips. Value is a pair (COLUMNS . ROWS).
11683Text larger than this is clipped."); 11689Text larger than this is clipped. */);
11684 Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); 11690 Vx_max_tooltip_size = Fcons (make_number (80), make_number (40));
11685 11691
11686 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, 11692 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager
11687 "Non-nil if no X window manager is in use.\n\ 11693 /* Non-nil if no X window manager is in use.
11688Emacs doesn't try to figure this out; this is always nil\n\ 11694Emacs doesn't try to figure this out; this is always nil
11689unless you set it to something else."); 11695unless you set it to something else. */);
11690 /* We don't have any way to find this out, so set it to nil 11696 /* We don't have any way to find this out, so set it to nil
11691 and maybe the user would like to set it to t. */ 11697 and maybe the user would like to set it to t. */
11692 Vx_no_window_manager = Qnil; 11698 Vx_no_window_manager = Qnil;
11693 11699
11694 DEFVAR_LISP ("x-pixel-size-width-font-regexp", 11700 DEFVAR_LISP ("x-pixel-size-width-font-regexp",
11695 &Vx_pixel_size_width_font_regexp, 11701 &Vx_pixel_size_width_font_regexp
11696 "Regexp matching a font name whose width is the same as `PIXEL_SIZE'.\n\ 11702 /* Regexp matching a font name whose width is the same as `PIXEL_SIZE'.
11697\n\ 11703
11698Since Emacs gets width of a font matching with this regexp from\n\ 11704Since Emacs gets width of a font matching with this regexp from
11699PIXEL_SIZE field of the name, font finding mechanism gets faster for\n\ 11705PIXEL_SIZE field of the name, font finding mechanism gets faster for
11700such a font. This is especially effective for such large fonts as\n\ 11706such a font. This is especially effective for such large fonts as
11701Chinese, Japanese, and Korean."); 11707Chinese, Japanese, and Korean. */);
11702 Vx_pixel_size_width_font_regexp = Qnil; 11708 Vx_pixel_size_width_font_regexp = Qnil;
11703 11709
11704 DEFVAR_LISP ("image-cache-eviction-delay", &Vimage_cache_eviction_delay, 11710 DEFVAR_LISP ("image-cache-eviction-delay", &Vimage_cache_eviction_delay
11705 "Time after which cached images are removed from the cache.\n\ 11711 /* Time after which cached images are removed from the cache.
11706When an image has not been displayed this many seconds, remove it\n\ 11712When an image has not been displayed this many seconds, remove it
11707from the image cache. Value must be an integer or nil with nil\n\ 11713from the image cache. Value must be an integer or nil with nil
11708meaning don't clear the cache."); 11714meaning don't clear the cache. */);
11709 Vimage_cache_eviction_delay = make_number (30 * 60); 11715 Vimage_cache_eviction_delay = make_number (30 * 60);
11710 11716
11711#ifdef USE_X_TOOLKIT 11717#ifdef USE_X_TOOLKIT
@@ -11713,8 +11719,8 @@ meaning don't clear the cache.");
11713#ifdef USE_MOTIF 11719#ifdef USE_MOTIF
11714 Fprovide (intern ("motif"), Qnil); 11720 Fprovide (intern ("motif"), Qnil);
11715 11721
11716 DEFVAR_LISP ("motif-version-string", &Vmotif_version_string, 11722 DEFVAR_LISP ("motif-version-string", &Vmotif_version_string
11717 "Version info for LessTif/Motif."); 11723 /* Version info for LessTif/Motif. */);
11718 Vmotif_version_string = build_string (XmVERSION_STRING); 11724 Vmotif_version_string = build_string (XmVERSION_STRING);
11719#endif /* USE_MOTIF */ 11725#endif /* USE_MOTIF */
11720#endif /* USE_X_TOOLKIT */ 11726#endif /* USE_X_TOOLKIT */