aboutsummaryrefslogtreecommitdiffstats
path: root/src/pgtkfns.c
diff options
context:
space:
mode:
authorStefan Kangas2025-04-17 07:56:55 +0200
committerStefan Kangas2025-04-17 07:57:53 +0200
commit4fcba8456e897cc77d1825e696aacb446ce45405 (patch)
tree048bbd4056fe79c1c42899402f04b6044d82f2a1 /src/pgtkfns.c
parent79814379d646e507c1af8ab26e300ac43d036664 (diff)
downloademacs-4fcba8456e897cc77d1825e696aacb446ce45405.tar.gz
emacs-4fcba8456e897cc77d1825e696aacb446ce45405.zip
Delete duplicate docstrings in PGTK build
* src/pgtkfns.c (Fx_export_frames, Fx_create_frame) (Fx_server_max_request_size, Fx_display_screens, Fx_display_mm_height) (Fx_display_mm_width, Fx_display_backing_store, Fx_display_visual_class) (Fx_display_save_under, Fx_open_connection, Fx_close_connection) (Fx_display_list, Fxw_color_defined_p, Fxw_color_values) (Fxw_display_color_p, Fx_display_grayscale_p, Fx_display_pixel_width) (Fx_display_pixel_height, Fx_display_planes, Fx_display_color_cells) (Fx_show_tip, Fx_hide_tip, Fx_file_dialog, Fx_select_font): Replace duplicate docstrings with "SKIP" marker. See the comment in doc.c. * src/xfns.c (Fx_server_max_request_size, Fx_display_screens) (Fx_display_backing_store, Fx_display_visual_class, Fx_file_dialog): Update docstrings with details about the PGTK build.
Diffstat (limited to 'src/pgtkfns.c')
-rw-r--r--src/pgtkfns.c173
1 files changed, 24 insertions, 149 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index 6231ef1cb48..e979b84d2e6 100644
--- a/src/pgtkfns.c
+++ b/src/pgtkfns.c
@@ -879,15 +879,7 @@ pgtk_set_scroll_bar_background (struct frame *f, Lisp_Object new_value,
879 879
880 880
881DEFUN ("x-export-frames", Fx_export_frames, Sx_export_frames, 0, 2, 0, 881DEFUN ("x-export-frames", Fx_export_frames, Sx_export_frames, 0, 2, 0,
882 doc: /* Return image data of FRAMES in TYPE format. 882 doc: /* SKIP: real doc in xfns.c. */)
883FRAMES should be nil (the selected frame), a frame, or a list of
884frames (each of which corresponds to one page). Each frame should be
885visible. Optional arg TYPE should be either `pdf' (default), `png',
886`postscript', or `svg'. Supported types are determined by the
887compile-time configuration of cairo.
888
889Note: Text drawn with the `x' font backend is shown with hollow boxes
890unless TYPE is `png'. */)
891 (Lisp_Object frames, Lisp_Object type) 883 (Lisp_Object frames, Lisp_Object type)
892{ 884{
893 Lisp_Object rest, tmp; 885 Lisp_Object rest, tmp;
@@ -1178,14 +1170,7 @@ scale factor. */)
1178} 1170}
1179 1171
1180DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, 1, 1, 0, 1172DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, 1, 1, 0,
1181 doc: /* Make a new X window, which is called a "frame" in Emacs terms. 1173 doc: /* SKIP: real doc in xfns.c. */ )
1182Return an Emacs frame object. PARMS is an alist of frame parameters.
1183If the parameters specify that the frame should not have a minibuffer,
1184and do not specify a specific minibuffer window to use, then
1185`default-minibuffer-frame' must be a frame whose minibuffer can be
1186shared by the new frame.
1187
1188This function is an internal primitive--use `make-frame' instead. */ )
1189 (Lisp_Object parms) 1174 (Lisp_Object parms)
1190{ 1175{
1191 struct frame *f; 1176 struct frame *f;
@@ -2003,7 +1988,7 @@ DEFUN ("pgtk-set-resource", Fpgtk_set_resource, Spgtk_set_resource, 2, 2, 0,
2003 1988
2004 1989
2005DEFUN ("x-server-max-request-size", Fx_server_max_request_size, Sx_server_max_request_size, 0, 1, 0, 1990DEFUN ("x-server-max-request-size", Fx_server_max_request_size, Sx_server_max_request_size, 0, 1, 0,
2006 doc: /* This function is a no-op. It is only present for completeness. */ ) 1991 doc: /* SKIP: real doc in xfns.c. */ )
2007 (Lisp_Object terminal) 1992 (Lisp_Object terminal)
2008{ 1993{
2009 check_pgtk_display_info (terminal); 1994 check_pgtk_display_info (terminal);
@@ -2014,13 +1999,7 @@ DEFUN ("x-server-max-request-size", Fx_server_max_request_size, Sx_server_max_re
2014 1999
2015 2000
2016DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0, 2001DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0,
2017 doc: /* Return the number of screens on the display server TERMINAL. 2002 doc: /* SKIP: real doc in xfns.c. */)
2018The optional argument TERMINAL specifies which display to ask about.
2019TERMINAL should be a terminal object, a frame or a display name (a string).
2020If omitted or nil, that stands for the selected frame's display.
2021
2022Note: "screen" here is not in X11's. For the number of physical monitors,
2023use `(length \(display-monitor-attributes-list TERMINAL))' instead. */)
2024 (Lisp_Object terminal) 2003 (Lisp_Object terminal)
2025{ 2004{
2026 check_pgtk_display_info (terminal); 2005 check_pgtk_display_info (terminal);
@@ -2029,14 +2008,7 @@ use `(length \(display-monitor-attributes-list TERMINAL))' instead. */)
2029 2008
2030 2009
2031DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0, 2010DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0,
2032 doc: /* Return the height in millimeters of the display TERMINAL. 2011 doc: /* SKIP: real doc in xfns.c. */)
2033The optional argument TERMINAL specifies which display to ask about.
2034TERMINAL should be a terminal object, a frame or a display name (a string).
2035If omitted or nil, that stands for the selected frame's display.
2036
2037On \"multi-monitor\" setups this refers to the height in millimeters for
2038all physical monitors associated with TERMINAL. To get information
2039for each physical monitor, use `display-monitor-attributes-list'. */)
2040 (Lisp_Object terminal) 2012 (Lisp_Object terminal)
2041{ 2013{
2042 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal); 2014 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal);
@@ -2070,14 +2042,7 @@ for each physical monitor, use `display-monitor-attributes-list'. */)
2070 2042
2071 2043
2072DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0, 2044DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
2073 doc: /* Return the width in millimeters of the display TERMINAL. 2045 doc: /* SKIP: real doc in xfns.c. */)
2074The optional argument TERMINAL specifies which display to ask about.
2075TERMINAL should be a terminal object, a frame or a display name (a string).
2076If omitted or nil, that stands for the selected frame's display.
2077
2078On \"multi-monitor\" setups this refers to the width in millimeters for
2079all physical monitors associated with TERMINAL. To get information
2080for each physical monitor, use `display-monitor-attributes-list'. */)
2081 (Lisp_Object terminal) 2046 (Lisp_Object terminal)
2082{ 2047{
2083 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal); 2048 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal);
@@ -2111,11 +2076,7 @@ for each physical monitor, use `display-monitor-attributes-list'. */)
2111 2076
2112 2077
2113DEFUN ("x-display-backing-store", Fx_display_backing_store, Sx_display_backing_store, 0, 1, 0, 2078DEFUN ("x-display-backing-store", Fx_display_backing_store, Sx_display_backing_store, 0, 1, 0,
2114 doc: /* Return an indication of whether the display TERMINAL does backing store. 2079 doc: /* SKIP: real doc in xfns.c. */)
2115The value may be `buffered', `retained', or `non-retained'.
2116The optional argument TERMINAL specifies which display to ask about.
2117TERMINAL should be a terminal object, a frame or a display name (a string).
2118If omitted or nil, that stands for the selected frame's display. */)
2119 (Lisp_Object terminal) 2080 (Lisp_Object terminal)
2120{ 2081{
2121 check_pgtk_display_info (terminal); 2082 check_pgtk_display_info (terminal);
@@ -2124,15 +2085,7 @@ If omitted or nil, that stands for the selected frame's display. */)
2124 2085
2125 2086
2126DEFUN ("x-display-visual-class", Fx_display_visual_class, Sx_display_visual_class, 0, 1, 0, 2087DEFUN ("x-display-visual-class", Fx_display_visual_class, Sx_display_visual_class, 0, 1, 0,
2127 doc: /* Return the visual class of the display TERMINAL. 2088 doc: /* SKIP: real doc in xfns.c. */)
2128The value is one of the symbols `static-gray', `gray-scale',
2129`static-color', `pseudo-color', `true-color', or `direct-color'.
2130
2131The optional argument TERMINAL specifies which display to ask about.
2132TERMINAL should a terminal object, a frame or a display name (a string).
2133If omitted or nil, that stands for the selected frame's display.
2134
2135On PGTK, always return true-color. */)
2136 (Lisp_Object terminal) 2089 (Lisp_Object terminal)
2137{ 2090{
2138 return Qtrue_color; 2091 return Qtrue_color;
@@ -2140,10 +2093,7 @@ On PGTK, always return true-color. */)
2140 2093
2141 2094
2142DEFUN ("x-display-save-under", Fx_display_save_under, Sx_display_save_under, 0, 1, 0, 2095DEFUN ("x-display-save-under", Fx_display_save_under, Sx_display_save_under, 0, 1, 0,
2143 doc: /* Return t if TERMINAL supports the save-under feature. 2096 doc: /* SKIP: real doc in xfns.c. */)
2144The optional argument TERMINAL specifies which display to ask about.
2145TERMINAL should be a terminal object, a frame or a display name (a string).
2146If omitted or nil, that stands for the selected frame's display. */)
2147 (Lisp_Object terminal) 2097 (Lisp_Object terminal)
2148{ 2098{
2149 check_pgtk_display_info (terminal); 2099 check_pgtk_display_info (terminal);
@@ -2152,11 +2102,7 @@ If omitted or nil, that stands for the selected frame's display. */)
2152 2102
2153 2103
2154DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection, 1, 3, 0, 2104DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection, 1, 3, 0,
2155 doc: /* Open a connection to a display server. 2105 doc: /* SKIP: real doc in xfns.c. */)
2156DISPLAY is the name of the display to connect to.
2157Optional second arg XRM-STRING is a string of resources in xrdb format.
2158If the optional third arg MUST-SUCCEED is non-nil,
2159terminate Emacs if we can't open the connection. */)
2160 (Lisp_Object display, Lisp_Object resource_string, Lisp_Object must_succeed) 2106 (Lisp_Object display, Lisp_Object resource_string, Lisp_Object must_succeed)
2161{ 2107{
2162 struct pgtk_display_info *dpyinfo; 2108 struct pgtk_display_info *dpyinfo;
@@ -2180,10 +2126,7 @@ terminate Emacs if we can't open the connection. */)
2180 2126
2181 2127
2182DEFUN ("x-close-connection", Fx_close_connection, Sx_close_connection, 1, 1, 0, 2128DEFUN ("x-close-connection", Fx_close_connection, Sx_close_connection, 1, 1, 0,
2183 doc: /* Close the connection to TERMINAL's display server. 2129 doc: /* SKIP: real doc in xfns.c. */)
2184For TERMINAL, specify a terminal object, a frame or a display name (a
2185string). If TERMINAL is nil, that stands for the selected frame's
2186terminal. */)
2187 (Lisp_Object terminal) 2130 (Lisp_Object terminal)
2188{ 2131{
2189 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal); 2132 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal);
@@ -2198,7 +2141,7 @@ terminal. */)
2198 2141
2199 2142
2200DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0, 2143DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0,
2201 doc: /* Return the list of display names that Emacs has connections to. */) 2144 doc: /* SKIP: real doc in xfns.c. */)
2202 (void) 2145 (void)
2203{ 2146{
2204 Lisp_Object result = Qnil; 2147 Lisp_Object result = Qnil;
@@ -2306,7 +2249,7 @@ pgtk_get_focus_frame (struct frame *frame)
2306} 2249}
2307 2250
2308DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0, 2251DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
2309 doc: /* Internal function called by `color-defined-p', which see. */) 2252 doc: /* SKIP: real doc in xfns.c. */)
2310 (Lisp_Object color, Lisp_Object frame) 2253 (Lisp_Object color, Lisp_Object frame)
2311{ 2254{
2312 Emacs_Color col; 2255 Emacs_Color col;
@@ -2322,7 +2265,7 @@ DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
2322 2265
2323 2266
2324DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0, 2267DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
2325 doc: /* Internal function called by `color-values', which see. */) 2268 doc: /* SKIP: real doc in xfns.c. */)
2326 (Lisp_Object color, Lisp_Object frame) 2269 (Lisp_Object color, Lisp_Object frame)
2327{ 2270{
2328 Emacs_Color col; 2271 Emacs_Color col;
@@ -2337,7 +2280,7 @@ DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
2337} 2280}
2338 2281
2339DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0, 2282DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
2340 doc: /* Internal function called by `display-color-p', which see. */) 2283 doc: /* SKIP: real doc in xfns.c. */)
2341 (Lisp_Object terminal) 2284 (Lisp_Object terminal)
2342{ 2285{
2343 check_pgtk_display_info (terminal); 2286 check_pgtk_display_info (terminal);
@@ -2345,25 +2288,14 @@ DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
2345} 2288}
2346 2289
2347DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, 0, 1, 0, 2290DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, 0, 1, 0,
2348 doc: /* Return t if the display supports shades of gray. 2291 doc: /* SKIP: real doc in xfns.c. */)
2349Note that color displays do support shades of gray.
2350The optional argument TERMINAL specifies which display to ask about.
2351TERMINAL should be a terminal object, a frame or a display name (a string).
2352If omitted or nil, that stands for the selected frame's display. */)
2353 (Lisp_Object terminal) 2292 (Lisp_Object terminal)
2354{ 2293{
2355 return Qnil; 2294 return Qnil;
2356} 2295}
2357 2296
2358DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, 0, 1, 0, 2297DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, 0, 1, 0,
2359 doc: /* Return the width in pixels of the display TERMINAL. 2298 doc: /* SKIP: real doc in xfns.c. */)
2360The optional argument TERMINAL specifies which display to ask about.
2361TERMINAL should be a terminal object, a frame or a display name (a string).
2362If omitted or nil, that stands for the selected frame's display.
2363
2364On \"multi-monitor\" setups this refers to the pixel width for all
2365physical monitors associated with TERMINAL. To get information for
2366each physical monitor, use `display-monitor-attributes-list'. */)
2367 (Lisp_Object terminal) 2299 (Lisp_Object terminal)
2368{ 2300{
2369 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal); 2301 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal);
@@ -2401,14 +2333,7 @@ each physical monitor, use `display-monitor-attributes-list'. */)
2401} 2333}
2402 2334
2403DEFUN ("x-display-pixel-height", Fx_display_pixel_height, Sx_display_pixel_height, 0, 1, 0, 2335DEFUN ("x-display-pixel-height", Fx_display_pixel_height, Sx_display_pixel_height, 0, 1, 0,
2404 doc: /* Return the height in pixels of the display TERMINAL. 2336 doc: /* SKIP: real doc in xfns.c. */)
2405The optional argument TERMINAL specifies which display to ask about.
2406TERMINAL should be a terminal object, a frame or a display name (a string).
2407If omitted or nil, that stands for the selected frame's display.
2408
2409On \"multi-monitor\" setups this refers to the pixel height for all
2410physical monitors associated with TERMINAL. To get information for
2411each physical monitor, use `display-monitor-attributes-list'. */)
2412 (Lisp_Object terminal) 2337 (Lisp_Object terminal)
2413{ 2338{
2414 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal); 2339 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal);
@@ -2574,10 +2499,7 @@ pgtk_frame_scale_factor (struct frame *f)
2574} 2499}
2575 2500
2576DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes, 0, 1, 0, 2501DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes, 0, 1, 0,
2577 doc: /* Return the number of bitplanes of the display TERMINAL. 2502 doc: /* SKIP: real doc in xfns.c. */)
2578The optional argument TERMINAL specifies which display to ask about.
2579TERMINAL should be a terminal object, a frame or a display name (a string).
2580If omitted or nil, that stands for the selected frame's display. */)
2581 (Lisp_Object terminal) 2503 (Lisp_Object terminal)
2582{ 2504{
2583 check_pgtk_display_info (terminal); 2505 check_pgtk_display_info (terminal);
@@ -2586,10 +2508,7 @@ If omitted or nil, that stands for the selected frame's display. */)
2586 2508
2587 2509
2588DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells, 0, 1, 0, 2510DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells, 0, 1, 0,
2589 doc: /* Returns the number of color cells of the display TERMINAL. 2511 doc: /* SKIP: real doc in xfns.c. */)
2590The optional argument TERMINAL specifies which display to ask about.
2591TERMINAL should be a terminal object, a frame or a display name (a string).
2592If omitted or nil, that stands for the selected frame's display. */)
2593 (Lisp_Object terminal) 2512 (Lisp_Object terminal)
2594{ 2513{
2595 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal); 2514 struct pgtk_display_info *dpyinfo = check_pgtk_display_info (terminal);
@@ -3071,36 +2990,7 @@ pgtk_hide_tip (bool delete)
3071} 2990}
3072 2991
3073DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0, 2992DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0,
3074 doc: /* Show STRING in a "tooltip" window on frame FRAME. 2993 doc: /* SKIP: real doc in xfns.c. */)
3075A tooltip window is a small X window displaying a string.
3076
3077This is an internal function; Lisp code should call `tooltip-show'.
3078
3079FRAME nil or omitted means use the selected frame.
3080
3081PARMS is an optional list of frame parameters which can be used to
3082change the tooltip's appearance.
3083
3084Automatically hide the tooltip after TIMEOUT seconds. TIMEOUT nil
3085means use the default timeout from the `x-show-tooltip-timeout'
3086variable.
3087
3088If the list of frame parameters PARMS contains a `left' parameter,
3089display the tooltip at that x-position. If the list of frame parameters
3090PARMS contains no `left' but a `right' parameter, display the tooltip
3091right-adjusted at that x-position. Otherwise display it at the
3092x-position of the mouse, with offset DX added (default is 5 if DX isn't
3093specified).
3094
3095Likewise for the y-position: If a `top' frame parameter is specified, it
3096determines the position of the upper edge of the tooltip window. If a
3097`bottom' parameter but no `top' frame parameter is specified, it
3098determines the position of the lower edge of the tooltip window.
3099Otherwise display the tooltip window at the y-position of the mouse,
3100with offset DY added (default is -10).
3101
3102A tooltip's maximum size is specified by `x-max-tooltip-size'.
3103Text larger than the specified size is clipped. */)
3104 (Lisp_Object string, Lisp_Object frame, Lisp_Object parms, 2994 (Lisp_Object string, Lisp_Object frame, Lisp_Object parms,
3105 Lisp_Object timeout, Lisp_Object dx, Lisp_Object dy) 2995 Lisp_Object timeout, Lisp_Object dx, Lisp_Object dy)
3106{ 2996{
@@ -3385,8 +3275,7 @@ Text larger than the specified size is clipped. */)
3385 3275
3386 3276
3387DEFUN ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0, 3277DEFUN ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0,
3388 doc: /* Hide the current tooltip window, if there is any. 3278 doc: /* SKIP: real doc in xfns.c. */)
3389Value is t if tooltip was open, nil otherwise. */)
3390 (void) 3279 (void)
3391{ 3280{
3392 return pgtk_hide_tip (!tooltip_reuse_hidden_frame); 3281 return pgtk_hide_tip (!tooltip_reuse_hidden_frame);
@@ -3686,18 +3575,7 @@ clean_up_dialog (void)
3686} 3575}
3687 3576
3688DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0, 3577DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0,
3689 doc: /* Read file name, prompting with PROMPT in directory DIR. 3578 doc: /* SKIP: real doc in xfns.c. */)
3690Use a file selection dialog. Select DEFAULT-FILENAME in the dialog's file
3691selection box, if specified. If MUSTMATCH is non-nil, the returned file
3692or directory must exist.
3693
3694This function is defined only on PGTK, NS, MS Windows, and X Windows with the
3695Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored.
3696Otherwise, if ONLY-DIR-P is non-nil, the user can select only directories.
3697On MS Windows 7 and later, the file selection dialog "remembers" the last
3698directory where the user selected a file, and will open that directory
3699instead of DIR on subsequent invocations of this function with the same
3700value of DIR as in previous invocations; this is standard MS Windows behavior. */)
3701 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, 3579 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename,
3702 Lisp_Object mustmatch, Lisp_Object only_dir_p) 3580 Lisp_Object mustmatch, Lisp_Object only_dir_p)
3703{ 3581{
@@ -3763,10 +3641,7 @@ If omitted or nil, that stands for the selected frame's display. */)
3763} 3641}
3764 3642
3765DEFUN ("x-select-font", Fx_select_font, Sx_select_font, 0, 2, 0, 3643DEFUN ("x-select-font", Fx_select_font, Sx_select_font, 0, 2, 0,
3766 doc: /* Read a font using a GTK dialog and return a font spec. 3644 doc: /* SKIP: real doc in xfns.c. */)
3767
3768FRAME is the frame on which to pop up the font chooser. If omitted or
3769nil, it defaults to the selected frame. */)
3770 (Lisp_Object frame, Lisp_Object ignored) 3645 (Lisp_Object frame, Lisp_Object ignored)
3771{ 3646{
3772 struct frame *f = decode_window_system_frame (frame); 3647 struct frame *f = decode_window_system_frame (frame);