diff options
| author | Stefan Monnier | 2010-08-11 07:42:48 +0200 |
|---|---|---|
| committer | Stefan Monnier | 2010-08-11 07:42:48 +0200 |
| commit | c566235d981eba73c88bbff00b6a1d88360b6e9f (patch) | |
| tree | f8d653add3570fe750a83d1123ed35022e0bf4ef /src/data.c | |
| parent | 0bfdb86f425a88fe43ebc88851c6f9a6418e1862 (diff) | |
| parent | 490b89acab3e759426ede25c31c94268df55e925 (diff) | |
| download | emacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.tar.gz emacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.zip | |
Merge from trunk
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/data.c b/src/data.c index cccd53f6076..9490b7ac79a 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -82,7 +82,8 @@ Lisp_Object Qnumberp, Qnumber_or_marker_p; | |||
| 82 | 82 | ||
| 83 | Lisp_Object Qinteger; | 83 | Lisp_Object Qinteger; |
| 84 | static Lisp_Object Qsymbol, Qstring, Qcons, Qmarker, Qoverlay; | 84 | static Lisp_Object Qsymbol, Qstring, Qcons, Qmarker, Qoverlay; |
| 85 | static Lisp_Object Qfloat, Qwindow_configuration, Qwindow; | 85 | Lisp_Object Qwindow; |
| 86 | static Lisp_Object Qfloat, Qwindow_configuration; | ||
| 86 | Lisp_Object Qprocess; | 87 | Lisp_Object Qprocess; |
| 87 | static Lisp_Object Qcompiled_function, Qfunction_vector, Qbuffer, Qframe, Qvector; | 88 | static Lisp_Object Qcompiled_function, Qfunction_vector, Qbuffer, Qframe, Qvector; |
| 88 | static Lisp_Object Qchar_table, Qbool_vector, Qhash_table; | 89 | static Lisp_Object Qchar_table, Qbool_vector, Qhash_table; |
| @@ -416,8 +417,7 @@ DEFUN ("byte-code-function-p", Fbyte_code_function_p, Sbyte_code_function_p, | |||
| 416 | 417 | ||
| 417 | DEFUN ("funvecp", Ffunvecp, Sfunvecp, 1, 1, 0, | 418 | DEFUN ("funvecp", Ffunvecp, Sfunvecp, 1, 1, 0, |
| 418 | doc: /* Return t if OBJECT is a `function vector' object. */) | 419 | doc: /* Return t if OBJECT is a `function vector' object. */) |
| 419 | (object) | 420 | (Lisp_Object object) |
| 420 | Lisp_Object object; | ||
| 421 | { | 421 | { |
| 422 | return FUNVECP (object) ? Qt : Qnil; | 422 | return FUNVECP (object) ? Qt : Qnil; |
| 423 | } | 423 | } |
| @@ -675,8 +675,6 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0, | |||
| 675 | return definition; | 675 | return definition; |
| 676 | } | 676 | } |
| 677 | 677 | ||
| 678 | extern Lisp_Object Qfunction_documentation; | ||
| 679 | |||
| 680 | DEFUN ("defalias", Fdefalias, Sdefalias, 2, 3, 0, | 678 | DEFUN ("defalias", Fdefalias, Sdefalias, 2, 3, 0, |
| 681 | doc: /* Set SYMBOL's function definition to DEFINITION, and return DEFINITION. | 679 | doc: /* Set SYMBOL's function definition to DEFINITION, and return DEFINITION. |
| 682 | Associates the function with the current load file, if any. | 680 | Associates the function with the current load file, if any. |
| @@ -761,7 +759,7 @@ Value, if non-nil, is a list \(interactive SPEC). */) | |||
| 761 | 759 | ||
| 762 | if (SUBRP (fun)) | 760 | if (SUBRP (fun)) |
| 763 | { | 761 | { |
| 764 | char *spec = XSUBR (fun)->intspec; | 762 | const char *spec = XSUBR (fun)->intspec; |
| 765 | if (spec) | 763 | if (spec) |
| 766 | return list2 (Qinteractive, | 764 | return list2 (Qinteractive, |
| 767 | (*spec != '(') ? build_string (spec) : | 765 | (*spec != '(') ? build_string (spec) : |
| @@ -1876,6 +1874,7 @@ BUFFER defaults to the current buffer. */) | |||
| 1876 | Lisp_Object tail, elt, tmp; | 1874 | Lisp_Object tail, elt, tmp; |
| 1877 | struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym); | 1875 | struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym); |
| 1878 | XSETBUFFER (tmp, buf); | 1876 | XSETBUFFER (tmp, buf); |
| 1877 | XSETSYMBOL (variable, sym); /* Update in case of aliasing. */ | ||
| 1879 | 1878 | ||
| 1880 | for (tail = buf->local_var_alist; CONSP (tail); tail = XCDR (tail)) | 1879 | for (tail = buf->local_var_alist; CONSP (tail); tail = XCDR (tail)) |
| 1881 | { | 1880 | { |
| @@ -2512,8 +2511,6 @@ enum arithop | |||
| 2512 | 2511 | ||
| 2513 | static Lisp_Object float_arith_driver (double, int, enum arithop, | 2512 | static Lisp_Object float_arith_driver (double, int, enum arithop, |
| 2514 | int, Lisp_Object *); | 2513 | int, Lisp_Object *); |
| 2515 | extern Lisp_Object fmod_float (Lisp_Object, Lisp_Object); | ||
| 2516 | |||
| 2517 | Lisp_Object | 2514 | Lisp_Object |
| 2518 | arith_driver (enum arithop code, int nargs, register Lisp_Object *args) | 2515 | arith_driver (enum arithop code, int nargs, register Lisp_Object *args) |
| 2519 | { | 2516 | { |