aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2010-08-06 12:54:13 +0900
committerKenichi Handa2010-08-06 12:54:13 +0900
commitfaa28da9b740a4b5f297fc215d79a66d71bf6f78 (patch)
tree6d7cdbf92c424aeff5ffa9444b7baf75a90ab2be /src
parent6b4d96c2f04e5a08c4f9fff144743ff16c151dae (diff)
parent9ebc731b45fea0b4d7d547cb37ca2675d5940106 (diff)
downloademacs-faa28da9b740a4b5f297fc215d79a66d71bf6f78.tar.gz
emacs-faa28da9b740a4b5f297fc215d79a66d71bf6f78.zip
merge trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog21
-rw-r--r--src/dired.c3
-rw-r--r--src/fns.c23
-rw-r--r--src/minibuf.c3
-rw-r--r--src/w32fns.c2
-rw-r--r--src/xfns.c12
6 files changed, 42 insertions, 22 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6b9c8614837..2b413a7958c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,24 @@
12010-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
62010-07-30 Juanma Barranquero <lekktu@gmail.com>
7
8 * fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep)
9 (Fhash_table_size): Fix typos in docstrings.
10 (Fmake_hash_table): Doc fix.
11
122010-07-28 Juanma Barranquero <lekktu@gmail.com>
13
14 * minibuf.c (syms_of_minibuf) <read-buffer-function>:
15 Doc fix (bug#5625).
16
172010-07-27 Ken Brown <kbrown@cornell.edu>
18
19 * dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of
20 the MSDOS definition.
21
12010-07-25 Christoph Scholtes <cschol2112@gmail.com> 222010-07-25 Christoph Scholtes <cschol2112@gmail.com>
2 23
3 * minibuf.c (Fread_buffer): Doc fix (bug#6528). 24 * minibuf.c (Fread_buffer): Doc fix (bug#6528).
diff --git a/src/dired.c b/src/dired.c
index d4b0ff20db2..92a768da5be 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -72,8 +72,7 @@ extern struct direct *readdir ();
72#endif /* not MSDOS */ 72#endif /* not MSDOS */
73#endif /* not SYSV_SYSTEM_DIR */ 73#endif /* not SYSV_SYSTEM_DIR */
74 74
75/* Some versions of Cygwin don't have d_ino in `struct dirent'. */ 75#ifdef MSDOS
76#if defined(MSDOS) || defined(__CYGWIN__)
77#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0) 76#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
78#else 77#else
79#define DIRENTRY_NONEMPTY(p) ((p)->d_ino) 78#define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
diff --git a/src/fns.c b/src/fns.c
index 7e6001e947c..4e8cd5db9a6 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -238,9 +238,8 @@ Symbols are also allowed; their print names are used instead. */)
238 return Qt; 238 return Qt;
239} 239}
240 240
241DEFUN ("compare-strings", Fcompare_strings, 241DEFUN ("compare-strings", Fcompare_strings, Scompare_strings, 6, 7, 0,
242 Scompare_strings, 6, 7, 0, 242 doc: /* Compare the contents of two strings, converting to multibyte if needed.
243doc: /* Compare the contents of two strings, converting to multibyte if needed.
244In string STR1, skip the first START1 characters and stop at END1. 243In string STR1, skip the first START1 characters and stop at END1.
245In string STR2, skip the first START2 characters and stop at END2. 244In string STR2, skip the first START2 characters and stop at END2.
246END1 and END2 default to the full lengths of the respective strings. 245END1 and END2 default to the full lengths of the respective strings.
@@ -1259,7 +1258,7 @@ value is a new vector that contains the elements between index FROM
1259 1258
1260DEFUN ("substring-no-properties", Fsubstring_no_properties, Ssubstring_no_properties, 1, 3, 0, 1259DEFUN ("substring-no-properties", Fsubstring_no_properties, Ssubstring_no_properties, 1, 3, 0,
1261 doc: /* Return a substring of STRING, without text properties. 1260 doc: /* Return a substring of STRING, without text properties.
1262It starts at index FROM and ending before TO. 1261It starts at index FROM and ends before TO.
1263TO may be nil or omitted; then the substring runs to the end of STRING. 1262TO may be nil or omitted; then the substring runs to the end of STRING.
1264If FROM is nil or omitted, the substring starts at the beginning of STRING. 1263If FROM is nil or omitted, the substring starts at the beginning of STRING.
1265If FROM or TO is negative, it counts from the end. 1264If FROM or TO is negative, it counts from the end.
@@ -1355,7 +1354,7 @@ substring_both (string, from, from_byte, to, to_byte)
1355} 1354}
1356 1355
1357DEFUN ("nthcdr", Fnthcdr, Snthcdr, 2, 2, 0, 1356DEFUN ("nthcdr", Fnthcdr, Snthcdr, 2, 2, 0,
1358 doc: /* Take cdr N times on LIST, returns the result. */) 1357 doc: /* Take cdr N times on LIST, return the result. */)
1359 (n, list) 1358 (n, list)
1360 Lisp_Object n; 1359 Lisp_Object n;
1361 register Lisp_Object list; 1360 register Lisp_Object list;
@@ -1396,7 +1395,7 @@ DEFUN ("elt", Felt, Selt, 2, 2, 0,
1396} 1395}
1397 1396
1398DEFUN ("member", Fmember, Smember, 2, 2, 0, 1397DEFUN ("member", Fmember, Smember, 2, 2, 0,
1399doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `equal'. 1398 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `equal'.
1400The value is actually the tail of LIST whose car is ELT. */) 1399The value is actually the tail of LIST whose car is ELT. */)
1401 (elt, list) 1400 (elt, list)
1402 register Lisp_Object elt; 1401 register Lisp_Object elt;
@@ -1416,7 +1415,7 @@ The value is actually the tail of LIST whose car is ELT. */)
1416} 1415}
1417 1416
1418DEFUN ("memq", Fmemq, Smemq, 2, 2, 0, 1417DEFUN ("memq", Fmemq, Smemq, 2, 2, 0,
1419doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `eq'. 1418 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `eq'.
1420The value is actually the tail of LIST whose car is ELT. */) 1419The value is actually the tail of LIST whose car is ELT. */)
1421 (elt, list) 1420 (elt, list)
1422 register Lisp_Object elt, list; 1421 register Lisp_Object elt, list;
@@ -1443,7 +1442,7 @@ The value is actually the tail of LIST whose car is ELT. */)
1443} 1442}
1444 1443
1445DEFUN ("memql", Fmemql, Smemql, 2, 2, 0, 1444DEFUN ("memql", Fmemql, Smemql, 2, 2, 0,
1446doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `eql'. 1445 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `eql'.
1447The value is actually the tail of LIST whose car is ELT. */) 1446The value is actually the tail of LIST whose car is ELT. */)
1448 (elt, list) 1447 (elt, list)
1449 register Lisp_Object elt; 1448 register Lisp_Object elt;
@@ -2829,7 +2828,7 @@ Lisp_Object Vfeatures, Qsubfeatures;
2829extern Lisp_Object Vafter_load_alist; 2828extern Lisp_Object Vafter_load_alist;
2830 2829
2831DEFUN ("featurep", Ffeaturep, Sfeaturep, 1, 2, 0, 2830DEFUN ("featurep", Ffeaturep, Sfeaturep, 1, 2, 0,
2832 doc: /* Returns t if FEATURE is present in this Emacs. 2831 doc: /* Return t if FEATURE is present in this Emacs.
2833 2832
2834Use this to conditionalize execution of lisp code based on the 2833Use this to conditionalize execution of lisp code based on the
2835presence or absence of Emacs or environment extensions. 2834presence or absence of Emacs or environment extensions.
@@ -4627,8 +4626,8 @@ is a float, it must be > 1.0, and the new size is computed by
4627multiplying the old size with that factor. Default is 1.5. 4626multiplying the old size with that factor. Default is 1.5.
4628 4627
4629:rehash-threshold THRESHOLD -- THRESHOLD must a float > 0, and <= 1.0. 4628:rehash-threshold THRESHOLD -- THRESHOLD must a float > 0, and <= 1.0.
4630Resize the hash table when ratio of the number of entries in the 4629Resize the hash table when the ratio (number of entries / table size)
4631table. Default is 0.8. 4630is greater or equal than THRESHOLD. Default is 0.8.
4632 4631
4633:weakness WEAK -- WEAK must be one of nil, t, `key', `value', 4632:weakness WEAK -- WEAK must be one of nil, t, `key', `value',
4634`key-or-value', or `key-and-value'. If WEAK is not nil, the table 4633`key-or-value', or `key-and-value'. If WEAK is not nil, the table
@@ -4757,7 +4756,7 @@ DEFUN ("hash-table-rehash-threshold", Fhash_table_rehash_threshold,
4757DEFUN ("hash-table-size", Fhash_table_size, Shash_table_size, 1, 1, 0, 4756DEFUN ("hash-table-size", Fhash_table_size, Shash_table_size, 1, 1, 0,
4758 doc: /* Return the size of TABLE. 4757 doc: /* Return the size of TABLE.
4759The size can be used as an argument to `make-hash-table' to create 4758The size can be used as an argument to `make-hash-table' to create
4760a hash table than can hold as many elements of TABLE holds 4759a hash table than can hold as many elements as TABLE holds
4761without need for resizing. */) 4760without need for resizing. */)
4762 (table) 4761 (table)
4763 Lisp_Object table; 4762 Lisp_Object table;
diff --git a/src/minibuf.c b/src/minibuf.c
index 043eef13508..564346fd472 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -2131,7 +2131,8 @@ syms_of_minibuf ()
2131 staticpro (&Qread_expression_history); 2131 staticpro (&Qread_expression_history);
2132 2132
2133 DEFVAR_LISP ("read-buffer-function", &Vread_buffer_function, 2133 DEFVAR_LISP ("read-buffer-function", &Vread_buffer_function,
2134 doc: /* If this is non-nil, `read-buffer' does its work by calling this function. */); 2134 doc: /* If this is non-nil, `read-buffer' does its work by calling this function.
2135The function is called with the arguments passed to `read-buffer'. */);
2135 Vread_buffer_function = Qnil; 2136 Vread_buffer_function = Qnil;
2136 2137
2137 DEFVAR_BOOL ("read-buffer-completion-ignore-case", 2138 DEFVAR_BOOL ("read-buffer-completion-ignore-case",
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.
7202Value is a pair (COLUMNS . ROWS). Text larger than this is clipped. */); 7202Value 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.
5922Text larger than this is clipped. */); 5922Value 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,