Make second arg of copysign non-optional.

* src/floatfns.c (Fcopysign): Make the second argument non-optional,
since nil is not allowed anyway.
This commit is contained in:
Chong Yidong 2012-01-21 23:52:46 +08:00
parent 7a22e70011
commit 3c2907f7e8
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-01-21 Chong Yidong <cyd@gnu.org>
* floatfns.c (Fcopysign): Make the second argument non-optional,
since nil is not allowed anyway.
2012-01-21 Andreas Schwab <schwab@linux-m68k.org>
* process.c (read_process_output): Use p instead of XPROCESS (proc).

View file

@ -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)