1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 19:25:37 -08:00

* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and

HP/UX, not just under USG systems.
This commit is contained in:
Jim Blandy 1992-09-29 04:54:28 +00:00
parent b271272a9a
commit a080486e57
2 changed files with 2 additions and 2 deletions

View file

@ -931,7 +931,7 @@ If BUFFER is omitted, the current buffer is buried.")
}
/* Remove it from the screen. */
if (EQ (buf, XWINDOW (selected_frame)->buffer))
if (EQ (buf, XWINDOW (selected_window)->buffer))
Fswitch_to_buffer (Fother_buffer (buf), Qnil);
/* Move it to the end of the buffer list. */

View file

@ -1649,7 +1649,7 @@ Both must be numbers or markers.")
f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1);
f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2);
#ifdef USG
#if defined (USG) || defined (sun) || defined (ultrix) || defined (hpux)
f1 = fmod (f1, f2);
#else
f1 = drem (f1, f2);