changeset 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 92086abdb8cc
children 5baebf489b9e
files src/ChangeLog src/buffer.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Oct 16 23:33:46 2009 +0000
+++ b/src/ChangeLog	Sat Oct 17 02:35:35 2009 +0000
@@ -1,3 +1,7 @@
+2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
+
+	* buffer.c (Fbuffer_name): Doc fix.  (Bug#4728)
+
 2009-10-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
 	* nsterm.h (NS_HAVE_NSINTEGER): Back out and augment with CGFloat,
--- 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;
 {