From f5f6c0e0a7894f3b8879effe470b57f1564c98da Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sun, 1 Aug 2010 06:28:09 +0200 Subject: [PATCH] * w32fns.c (syms_of_w32fns) : Fix typo in docstring. * xfns.c (syms_of_xfns) : Reflow docstring. --- src/ChangeLog | 5 +++++ src/w32fns.c | 2 +- src/xfns.c | 12 ++++++------ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9dd44716c7..2b413a7958 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-08-01 Juanma Barranquero + + * w32fns.c (syms_of_w32fns) : Fix typo in docstring. + * xfns.c (syms_of_xfns) : Reflow docstring. + 2010-07-30 Juanma Barranquero * fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep) diff --git a/src/w32fns.c b/src/w32fns.c index 9df243ede7..e27e7fecdc 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -7199,7 +7199,7 @@ or when you set the mouse color. */); DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, doc: /* Maximum size for tooltips. -Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); +Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, diff --git a/src/xfns.c b/src/xfns.c index 458904b326..1d7d3d0358 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1025,7 +1025,7 @@ x_set_mouse_color (f, arg, oldval) if (FRAME_X_DISPLAY_INFO (f)->invisible_cursor == 0) FRAME_X_DISPLAY_INFO (f)->invisible_cursor = make_invisible_cursor (f); - + if (cursor != x->text_cursor && x->text_cursor != 0) XFreeCursor (dpy, x->text_cursor); @@ -3072,7 +3072,7 @@ x_default_font_parameter (f, parms) if (system_font) font_param = make_string (system_font, strlen (system_font)); } - + font = !NILP (font_param) ? font_param : x_get_arg (dpyinfo, parms, Qfont, "font", "Font", RES_TYPE_STRING); @@ -5646,7 +5646,7 @@ If FRAME is omitted or nil, it defaults to the selected frame. */) font_param = Ffont_get (font, intern (":name")); if (STRINGP (font_param)) default_name = xstrdup (SDATA (font_param)); - else + else { font_param = Fframe_parameter (frame, Qfont_param); if (STRINGP (font_param)) @@ -5657,7 +5657,7 @@ If FRAME is omitted or nil, it defaults to the selected frame. */) default_name = xstrdup (x_last_font_name); /* Convert fontconfig names to Gtk names, i.e. remove - before number */ - if (default_name) + if (default_name) { char *p = strrchr (default_name, '-'); if (p) @@ -5918,8 +5918,8 @@ or when you set the mouse color. */); Vx_cursor_fore_pixel = Qnil; DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, - doc: /* Maximum size for tooltips. Value is a pair (COLUMNS . ROWS). -Text larger than this is clipped. */); + doc: /* Maximum size for tooltips. +Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, -- 2.20.1