diff src/editfns.c @ 15015:8f8d48ab0a53

(Fcompare_buffer_substrings): Fix dumb bug handling buffer name as second arg.
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Apr 1996 10:56:40 +0000
parents 5e3570680687
children e8613675066c
line wrap: on
line diff
--- a/src/editfns.c	Sat Apr 13 04:43:53 1996 +0000
+++ b/src/editfns.c	Sat Apr 13 10:56:40 1996 +0000
@@ -1383,7 +1383,7 @@
       buf2 = Fget_buffer (buffer2);
       if (NILP (buf2))
 	nsberror (buffer2);
-      bp2 = XBUFFER (buffer2);
+      bp2 = XBUFFER (buf2);
     }
 
   if (NILP (start2))