summaryrefslogtreecommitdiff
path: root/src/editfns.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2004-05-07 22:27:57 +0000
committerJuanma Barranquero <lekktu@gmail.com>2004-05-07 22:27:57 +0000
commit658ec670abe9639a29136807c83b504a25ee19c3 (patch)
tree4324a9891a561713fc66b2b10d2e2a34019ba750 /src/editfns.c
parentd7ee9fab39fc2a9ac0747402b622fa7a789ff75b (diff)
downloademacs-658ec670abe9639a29136807c83b504a25ee19c3.tar.gz
(Finsert_buffer_substring): Make argument names match their use in
docstring.
Diffstat (limited to 'src/editfns.c')
-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. */)
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;
+ Lisp_Object buf;
- buffer = Fget_buffer (buf);
- if (NILP (buffer))
- nsberror (buf);
- bp = XBUFFER (buffer);
+ buf = Fget_buffer (buffer);
+ if (NILP (buf))
+ nsberror (buffer);
+ bp = XBUFFER (buf);
if (NILP (bp->name))
error ("Selecting deleted buffer");