comparison 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
comparison
equal deleted inserted replaced
105640:92086abdb8cc 105641:f51e9b41be2c
875 } 875 }
876 876
877 877
878 DEFUN ("buffer-name", Fbuffer_name, Sbuffer_name, 0, 1, 0, 878 DEFUN ("buffer-name", Fbuffer_name, Sbuffer_name, 0, 1, 0,
879 doc: /* Return the name of BUFFER, as a string. 879 doc: /* Return the name of BUFFER, as a string.
880 With no argument or nil as argument, return the name of the current buffer. */) 880 BUFFER defaults to the current buffer.
881 Return nil if BUFFER has been killed. */)
881 (buffer) 882 (buffer)
882 register Lisp_Object buffer; 883 register Lisp_Object buffer;
883 { 884 {
884 if (NILP (buffer)) 885 if (NILP (buffer))
885 return current_buffer->name; 886 return current_buffer->name;