aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c2
-rw-r--r--src/data.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 80d4ece06a1..1d363738342 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -931,7 +931,7 @@ If BUFFER is omitted, the current buffer is buried.")
931 } 931 }
932 932
933 /* Remove it from the screen. */ 933 /* Remove it from the screen. */
934 if (EQ (buf, XWINDOW (selected_frame)->buffer)) 934 if (EQ (buf, XWINDOW (selected_window)->buffer))
935 Fswitch_to_buffer (Fother_buffer (buf), Qnil); 935 Fswitch_to_buffer (Fother_buffer (buf), Qnil);
936 936
937 /* Move it to the end of the buffer list. */ 937 /* Move it to the end of the buffer list. */
diff --git a/src/data.c b/src/data.c
index 9b45fc61c30..50813f672b2 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1649,7 +1649,7 @@ Both must be numbers or markers.")
1649 1649
1650 f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); 1650 f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1);
1651 f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); 1651 f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2);
1652#ifdef USG 1652#if defined (USG) || defined (sun) || defined (ultrix) || defined (hpux)
1653 f1 = fmod (f1, f2); 1653 f1 = fmod (f1, f2);
1654#else 1654#else
1655 f1 = drem (f1, f2); 1655 f1 = drem (f1, f2);