From: Chong Yidong Date: Sat, 21 Jan 2012 15:52:46 +0000 (+0800) Subject: Make second arg of copysign non-optional. X-Git-Tag: emacs-pretest-24.0.93~95 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c2907f7e83d2a324aca245b5cb1b8c84a1055e7;p=emacs.git Make second arg of copysign non-optional. * src/floatfns.c (Fcopysign): Make the second argument non-optional, since nil is not allowed anyway. --- diff --git a/src/ChangeLog b/src/ChangeLog index 925bb8299ba..c8b1e654830 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-01-21 Chong Yidong + + * floatfns.c (Fcopysign): Make the second argument non-optional, + since nil is not allowed anyway. + 2012-01-21 Andreas Schwab * process.c (read_process_output): Use p instead of XPROCESS (proc). diff --git a/src/floatfns.c b/src/floatfns.c index c44784f2120..305c78cae63 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -294,7 +294,7 @@ DEFUN ("isnan", Fisnan, Sisnan, 1, 1, 0, } #ifdef HAVE_COPYSIGN -DEFUN ("copysign", Fcopysign, Scopysign, 1, 2, 0, +DEFUN ("copysign", Fcopysign, Scopysign, 2, 2, 0, doc: /* Copy sign of X2 to value of X1, and return the result. Cause an error if X1 or X2 is not a float. */) (Lisp_Object x1, Lisp_Object x2)