aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorStefan Monnier2010-08-11 07:42:48 +0200
committerStefan Monnier2010-08-11 07:42:48 +0200
commitc566235d981eba73c88bbff00b6a1d88360b6e9f (patch)
treef8d653add3570fe750a83d1123ed35022e0bf4ef /src/data.c
parent0bfdb86f425a88fe43ebc88851c6f9a6418e1862 (diff)
parent490b89acab3e759426ede25c31c94268df55e925 (diff)
downloademacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.tar.gz
emacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.zip
Merge from trunk
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c13
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
83Lisp_Object Qinteger; 83Lisp_Object Qinteger;
84static Lisp_Object Qsymbol, Qstring, Qcons, Qmarker, Qoverlay; 84static Lisp_Object Qsymbol, Qstring, Qcons, Qmarker, Qoverlay;
85static Lisp_Object Qfloat, Qwindow_configuration, Qwindow; 85Lisp_Object Qwindow;
86static Lisp_Object Qfloat, Qwindow_configuration;
86Lisp_Object Qprocess; 87Lisp_Object Qprocess;
87static Lisp_Object Qcompiled_function, Qfunction_vector, Qbuffer, Qframe, Qvector; 88static Lisp_Object Qcompiled_function, Qfunction_vector, Qbuffer, Qframe, Qvector;
88static Lisp_Object Qchar_table, Qbool_vector, Qhash_table; 89static 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
417DEFUN ("funvecp", Ffunvecp, Sfunvecp, 1, 1, 0, 418DEFUN ("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
678extern Lisp_Object Qfunction_documentation;
679
680DEFUN ("defalias", Fdefalias, Sdefalias, 2, 3, 0, 678DEFUN ("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.
682Associates the function with the current load file, if any. 680Associates 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
2513static Lisp_Object float_arith_driver (double, int, enum arithop, 2512static Lisp_Object float_arith_driver (double, int, enum arithop,
2514 int, Lisp_Object *); 2513 int, Lisp_Object *);
2515extern Lisp_Object fmod_float (Lisp_Object, Lisp_Object);
2516
2517Lisp_Object 2514Lisp_Object
2518arith_driver (enum arithop code, int nargs, register Lisp_Object *args) 2515arith_driver (enum arithop code, int nargs, register Lisp_Object *args)
2519{ 2516{