emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106906: Make second arg of copysign


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106906: Make second arg of copysign non-optional.
Date: Sat, 21 Jan 2012 23:52:46 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106906
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2012-01-21 23:52:46 +0800
message:
  Make second arg of copysign non-optional.
  
  * src/floatfns.c (Fcopysign): Make the second argument non-optional,
  since nil is not allowed anyway.
modified:
  src/ChangeLog
  src/floatfns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-01-21 10:54:19 +0000
+++ b/src/ChangeLog     2012-01-21 15:52:46 +0000
@@ -1,3 +1,8 @@
+2012-01-21  Chong Yidong  <address@hidden>
+
+       * floatfns.c (Fcopysign): Make the second argument non-optional,
+       since nil is not allowed anyway.
+
 2012-01-21  Andreas Schwab  <address@hidden>
 
        * process.c (read_process_output): Use p instead of XPROCESS (proc).

=== modified file 'src/floatfns.c'
--- a/src/floatfns.c    2012-01-19 07:21:25 +0000
+++ b/src/floatfns.c    2012-01-21 15:52:46 +0000
@@ -294,7 +294,7 @@
 }
 
 #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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]