aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsfns.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsfns.m')
-rw-r--r--src/nsfns.m28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index db8bbeb5f76..0b105ab6ff1 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1,6 +1,7 @@
1/* Functions for the NeXT/Open/GNUstep and MacOSX window system. 1/* Functions for the NeXT/Open/GNUstep and MacOSX window system.
2 Copyright (C) 1989, 1992, 1993, 1994, 2005, 2006, 2008, 2009, 2010 2
3 Free Software Foundation, Inc. 3Copyright (C) 1989, 1992, 1993, 1994, 2005, 2006, 2008, 2009, 2010
4 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
@@ -1223,8 +1224,6 @@ be shared by the new frame. */)
1223 "foreground", "Foreground", RES_TYPE_STRING); 1224 "foreground", "Foreground", RES_TYPE_STRING);
1224 x_default_parameter (f, parms, Qbackground_color, build_string ("White"), 1225 x_default_parameter (f, parms, Qbackground_color, build_string ("White"),
1225 "background", "Background", RES_TYPE_STRING); 1226 "background", "Background", RES_TYPE_STRING);
1226 x_default_parameter (f, parms, Qcursor_color, build_string ("grey"),
1227 "cursorColor", "CursorColor", RES_TYPE_STRING);
1228 /* FIXME: not suppported yet in Nextstep */ 1227 /* FIXME: not suppported yet in Nextstep */
1229 x_default_parameter (f, parms, Qline_spacing, Qnil, 1228 x_default_parameter (f, parms, Qline_spacing, Qnil,
1230 "lineSpacing", "LineSpacing", RES_TYPE_NUMBER); 1229 "lineSpacing", "LineSpacing", RES_TYPE_NUMBER);
@@ -1697,7 +1696,7 @@ If omitted or nil, the selected frame's display is used. */)
1697 1696
1698DEFUN ("x-display-save-under", Fx_display_save_under, 1697DEFUN ("x-display-save-under", Fx_display_save_under,
1699 Sx_display_save_under, 0, 1, 0, 1698 Sx_display_save_under, 0, 1, 0,
1700 doc: /* Non-nil if the Nextstep display server supports the save-under feature. 1699 doc: /* Return t if DISPLAY supports the save-under feature.
1701The optional argument DISPLAY specifies which display to ask about. 1700The optional argument DISPLAY specifies which display to ask about.
1702DISPLAY should be a frame, the display name as a string, or a terminal ID. 1701DISPLAY should be a frame, the display name as a string, or a terminal ID.
1703If omitted or nil, the selected frame's display is used. */) 1702If omitted or nil, the selected frame's display is used. */)
@@ -1722,9 +1721,12 @@ If omitted or nil, the selected frame's display is used. */)
1722 1721
1723DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection, 1722DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection,
1724 1, 3, 0, 1723 1, 3, 0,
1725 doc: /* Open a connection to a Nextstep display server. 1724 doc: /* Open a connection to a display server.
1726DISPLAY is the name of the display to connect to. 1725DISPLAY is the name of the display to connect to.
1727Optional arguments XRM-STRING and MUST-SUCCEED are currently ignored. */) 1726Optional second arg XRM-STRING is a string of resources in xrdb format.
1727If the optional third arg MUST-SUCCEED is non-nil,
1728terminate Emacs if we can't open the connection.
1729\(In the Nextstep version, the last two arguments are currently ignored.) */)
1728 (Lisp_Object display, Lisp_Object resource_string, Lisp_Object must_succeed) 1730 (Lisp_Object display, Lisp_Object resource_string, Lisp_Object must_succeed)
1729{ 1731{
1730 struct ns_display_info *dpyinfo; 1732 struct ns_display_info *dpyinfo;
@@ -2201,8 +2203,8 @@ x_sync (struct frame *f)
2201 2203
2202 2204
2203DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0, 2205DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
2204 doc: /* Return t if the current Nextstep display supports the color COLOR. 2206 doc: /* Internal function called by `color-defined-p', which see.
2205The optional argument FRAME is currently ignored. */) 2207\(Note that the Nextstep version of this function ignores FRAME.) */)
2206 (Lisp_Object color, Lisp_Object frame) 2208 (Lisp_Object color, Lisp_Object frame)
2207{ 2209{
2208 NSColor * col; 2210 NSColor * col;
@@ -2233,10 +2235,7 @@ DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
2233 2235
2234 2236
2235DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0, 2237DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
2236 doc: /* Return t if the Nextstep display supports color. 2238 doc: /* Internal function called by `display-color-p', which see. */)
2237The optional argument DISPLAY specifies which display to ask about.
2238DISPLAY should be either a frame, a display name (a string), or terminal ID.
2239If omitted or nil, that stands for the selected frame's display. */)
2240 (Lisp_Object display) 2239 (Lisp_Object display)
2241{ 2240{
2242 NSWindowDepth depth; 2241 NSWindowDepth depth;
@@ -2430,6 +2429,8 @@ DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0,
2430 doc: /* Show STRING in a \"tooltip\" window on frame FRAME. 2429 doc: /* Show STRING in a \"tooltip\" window on frame FRAME.
2431A tooltip window is a small window displaying a string. 2430A tooltip window is a small window displaying a string.
2432 2431
2432This is an internal function; Lisp code should call `tooltip-show'.
2433
2433FRAME nil or omitted means use the selected frame. 2434FRAME nil or omitted means use the selected frame.
2434 2435
2435PARMS is an optional list of frame parameters which can be used to 2436PARMS is an optional list of frame parameters which can be used to
@@ -2675,4 +2676,3 @@ be used as the image of the icon representing the frame. */);
2675 2676
2676} 2677}
2677 2678
2678// arch-tag: dc2a3f74-1123-4daa-8eed-fb78db6a5642