aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2004-05-07 22:27:57 +0000
committerJuanma Barranquero2004-05-07 22:27:57 +0000
commit658ec670abe9639a29136807c83b504a25ee19c3 (patch)
tree4324a9891a561713fc66b2b10d2e2a34019ba750 /src
parentd7ee9fab39fc2a9ac0747402b622fa7a789ff75b (diff)
downloademacs-658ec670abe9639a29136807c83b504a25ee19c3.tar.gz
emacs-658ec670abe9639a29136807c83b504a25ee19c3.zip
(Finsert_buffer_substring): Make argument names match their use in
docstring.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 51187c0e473..207faf492ab 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2347,21 +2347,21 @@ of the buffer. */)
2347 2347
2348DEFUN ("insert-buffer-substring", Finsert_buffer_substring, Sinsert_buffer_substring, 2348DEFUN ("insert-buffer-substring", Finsert_buffer_substring, Sinsert_buffer_substring,
2349 1, 3, 0, 2349 1, 3, 0,
2350 doc: /* Insert before point a substring of the contents of buffer BUFFER. 2350 doc: /* Insert before point a substring of the contents of BUFFER.
2351BUFFER may be a buffer or a buffer name. 2351BUFFER may be a buffer or a buffer name.
2352Arguments START and END are character numbers specifying the substring. 2352Arguments START and END are character numbers specifying the substring.
2353They default to the beginning and the end of BUFFER. */) 2353They default to the beginning and the end of BUFFER. */)
2354 (buf, start, end) 2354 (buffer, start, end)
2355 Lisp_Object buf, start, end; 2355 Lisp_Object buffer, start, end;
2356{ 2356{
2357 register int b, e, temp; 2357 register int b, e, temp;
2358 register struct buffer *bp, *obuf; 2358 register struct buffer *bp, *obuf;
2359 Lisp_Object buffer; 2359 Lisp_Object buf;
2360 2360
2361 buffer = Fget_buffer (buf); 2361 buf = Fget_buffer (buffer);
2362 if (NILP (buffer)) 2362 if (NILP (buf))
2363 nsberror (buf); 2363 nsberror (buffer);
2364 bp = XBUFFER (buffer); 2364 bp = XBUFFER (buf);
2365 if (NILP (bp->name)) 2365 if (NILP (bp->name))
2366 error ("Selecting deleted buffer"); 2366 error ("Selecting deleted buffer");
2367 2367