# HG changeset patch # User Juanma Barranquero # Date 1083968877 0 # Node ID 04990cada43d8d600b3ab0846ca16d4a824b3e2b # Parent a9e10b866486b4745f46dfdccc55ca1a7705dfea (Finsert_buffer_substring): Make argument names match their use in docstring. diff -r a9e10b866486 -r 04990cada43d src/editfns.c --- a/src/editfns.c Fri May 07 22:26:29 2004 +0000 +++ b/src/editfns.c Fri May 07 22:27:57 2004 +0000 @@ -2347,21 +2347,21 @@ DEFUN ("insert-buffer-substring", Finsert_buffer_substring, Sinsert_buffer_substring, 1, 3, 0, - doc: /* Insert before point a substring of the contents of buffer BUFFER. + doc: /* Insert before point a substring of the contents of BUFFER. BUFFER may be a buffer or a buffer name. Arguments START and END are character numbers specifying the substring. They default to the beginning and the end of BUFFER. */) - (buf, start, end) - Lisp_Object buf, start, end; + (buffer, start, end) + Lisp_Object buffer, start, end; { register int b, e, temp; register struct buffer *bp, *obuf; - Lisp_Object buffer; - - buffer = Fget_buffer (buf); - if (NILP (buffer)) - nsberror (buf); - bp = XBUFFER (buffer); + Lisp_Object buf; + + buf = Fget_buffer (buffer); + if (NILP (buf)) + nsberror (buffer); + bp = XBUFFER (buf); if (NILP (bp->name)) error ("Selecting deleted buffer");