diff src/buffer.c @ 105641:f51e9b41be2c

* buffer.c (Fbuffer_name): Doc fix. (Bug#4728)
author Juanma Barranquero <lekktu@gmail.com>
date Sat, 17 Oct 2009 02:35:35 +0000
parents e5f506a6a59d
children 68dd71358159
line wrap: on
line diff
--- a/src/buffer.c	Fri Oct 16 23:33:46 2009 +0000
+++ b/src/buffer.c	Sat Oct 17 02:35:35 2009 +0000
@@ -877,7 +877,8 @@
 
 DEFUN ("buffer-name", Fbuffer_name, Sbuffer_name, 0, 1, 0,
        doc: /* Return the name of BUFFER, as a string.
-With no argument or nil as argument, return the name of the current buffer.  */)
+BUFFER defaults to the current buffer.
+Return nil if BUFFER has been killed.  */)
      (buffer)
      register Lisp_Object buffer;
 {