diff src/minibuf.c @ 109693:ea5dcd4a779a

Document arguments passed to `read-buffer-function' (bug#5625). * doc/lispref/minibuf.texi (High-Level Completion): Document args of `read-buffer-function'. * src/minibuf.c (syms_of_minibuf) <read-buffer-function>: Doc fix.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 28 Jul 2010 02:15:49 +0200
parents e8d5a68351ac
children df8e0cd18128 376148b31b5e
line wrap: on
line diff
--- a/src/minibuf.c	Tue Jul 27 15:50:01 2010 -0400
+++ b/src/minibuf.c	Wed Jul 28 02:15:49 2010 +0200
@@ -2131,7 +2131,8 @@
   staticpro (&Qread_expression_history);
 
   DEFVAR_LISP ("read-buffer-function", &Vread_buffer_function,
-	       doc: /* If this is non-nil, `read-buffer' does its work by calling this function.  */);
+	       doc: /* If this is non-nil, `read-buffer' does its work by calling this function.
+The function is called with the arguments passed to `read-buffer'.  */);
   Vread_buffer_function = Qnil;
 
   DEFVAR_BOOL ("read-buffer-completion-ignore-case",