summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/buffer.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7794f7a8cab..22452c7dcc0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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,
diff --git a/src/buffer.c b/src/buffer.c
index 245fd1d9acb..d74a40ac4f5 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -877,7 +877,8 @@ it is in the sequence to be tried) even if a buffer with that name exists. */)
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;
{