diff options
| author | Juanma Barranquero | 2010-08-01 06:28:09 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-08-01 06:28:09 +0200 |
| commit | f5f6c0e0a7894f3b8879effe470b57f1564c98da (patch) | |
| tree | 6971bcd98133e8f59d42936b48055821ac416635 /src | |
| parent | e1d294ab74f89f4c2e72320f7dd50312a638f1ec (diff) | |
| download | emacs-f5f6c0e0a7894f3b8879effe470b57f1564c98da.tar.gz emacs-f5f6c0e0a7894f3b8879effe470b57f1564c98da.zip | |
* w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring.
* xfns.c (syms_of_xfns) <x-max-tooltip-size>: Reflow docstring.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32fns.c | 2 | ||||
| -rw-r--r-- | src/xfns.c | 12 |
3 files changed, 12 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9dd44716c74..2b413a7958c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-08-01 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring. | ||
| 4 | * xfns.c (syms_of_xfns) <x-max-tooltip-size>: Reflow docstring. | ||
| 5 | |||
| 1 | 2010-07-30 Juanma Barranquero <lekktu@gmail.com> | 6 | 2010-07-30 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep) | 8 | * fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep) |
diff --git a/src/w32fns.c b/src/w32fns.c index 9df243ede7f..e27e7fecdc6 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -7199,7 +7199,7 @@ or when you set the mouse color. */); | |||
| 7199 | 7199 | ||
| 7200 | DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, | 7200 | DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, |
| 7201 | doc: /* Maximum size for tooltips. | 7201 | doc: /* Maximum size for tooltips. |
| 7202 | Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); | 7202 | Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); |
| 7203 | Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); | 7203 | Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); |
| 7204 | 7204 | ||
| 7205 | DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, | 7205 | DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, |
diff --git a/src/xfns.c b/src/xfns.c index 458904b326a..1d7d3d03580 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1025,7 +1025,7 @@ x_set_mouse_color (f, arg, oldval) | |||
| 1025 | 1025 | ||
| 1026 | if (FRAME_X_DISPLAY_INFO (f)->invisible_cursor == 0) | 1026 | if (FRAME_X_DISPLAY_INFO (f)->invisible_cursor == 0) |
| 1027 | FRAME_X_DISPLAY_INFO (f)->invisible_cursor = make_invisible_cursor (f); | 1027 | FRAME_X_DISPLAY_INFO (f)->invisible_cursor = make_invisible_cursor (f); |
| 1028 | 1028 | ||
| 1029 | if (cursor != x->text_cursor | 1029 | if (cursor != x->text_cursor |
| 1030 | && x->text_cursor != 0) | 1030 | && x->text_cursor != 0) |
| 1031 | XFreeCursor (dpy, x->text_cursor); | 1031 | XFreeCursor (dpy, x->text_cursor); |
| @@ -3072,7 +3072,7 @@ x_default_font_parameter (f, parms) | |||
| 3072 | if (system_font) font_param = make_string (system_font, | 3072 | if (system_font) font_param = make_string (system_font, |
| 3073 | strlen (system_font)); | 3073 | strlen (system_font)); |
| 3074 | } | 3074 | } |
| 3075 | 3075 | ||
| 3076 | font = !NILP (font_param) ? font_param | 3076 | font = !NILP (font_param) ? font_param |
| 3077 | : x_get_arg (dpyinfo, parms, Qfont, "font", "Font", RES_TYPE_STRING); | 3077 | : x_get_arg (dpyinfo, parms, Qfont, "font", "Font", RES_TYPE_STRING); |
| 3078 | 3078 | ||
| @@ -5646,7 +5646,7 @@ If FRAME is omitted or nil, it defaults to the selected frame. */) | |||
| 5646 | font_param = Ffont_get (font, intern (":name")); | 5646 | font_param = Ffont_get (font, intern (":name")); |
| 5647 | if (STRINGP (font_param)) | 5647 | if (STRINGP (font_param)) |
| 5648 | default_name = xstrdup (SDATA (font_param)); | 5648 | default_name = xstrdup (SDATA (font_param)); |
| 5649 | else | 5649 | else |
| 5650 | { | 5650 | { |
| 5651 | font_param = Fframe_parameter (frame, Qfont_param); | 5651 | font_param = Fframe_parameter (frame, Qfont_param); |
| 5652 | if (STRINGP (font_param)) | 5652 | if (STRINGP (font_param)) |
| @@ -5657,7 +5657,7 @@ If FRAME is omitted or nil, it defaults to the selected frame. */) | |||
| 5657 | default_name = xstrdup (x_last_font_name); | 5657 | default_name = xstrdup (x_last_font_name); |
| 5658 | 5658 | ||
| 5659 | /* Convert fontconfig names to Gtk names, i.e. remove - before number */ | 5659 | /* Convert fontconfig names to Gtk names, i.e. remove - before number */ |
| 5660 | if (default_name) | 5660 | if (default_name) |
| 5661 | { | 5661 | { |
| 5662 | char *p = strrchr (default_name, '-'); | 5662 | char *p = strrchr (default_name, '-'); |
| 5663 | if (p) | 5663 | if (p) |
| @@ -5918,8 +5918,8 @@ or when you set the mouse color. */); | |||
| 5918 | Vx_cursor_fore_pixel = Qnil; | 5918 | Vx_cursor_fore_pixel = Qnil; |
| 5919 | 5919 | ||
| 5920 | DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, | 5920 | DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size, |
| 5921 | doc: /* Maximum size for tooltips. Value is a pair (COLUMNS . ROWS). | 5921 | doc: /* Maximum size for tooltips. |
| 5922 | Text larger than this is clipped. */); | 5922 | Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); |
| 5923 | Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); | 5923 | Vx_max_tooltip_size = Fcons (make_number (80), make_number (40)); |
| 5924 | 5924 | ||
| 5925 | DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, | 5925 | DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, |