help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filename from buffer-name


From: Jesper Harder
Subject: Re: filename from buffer-name
Date: Tue, 12 Oct 2004 23:47:19 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Sarir Khamsi <sarir.khamsi@raytheon.com> writes:

> I am trying to find the lisp function that will give me a filename,
> and path, from a buffer name. Does anyone know what that function is?

,----[ C-h f buffer-file-name RET ]
| buffer-file-name is a built-in function in `C source code'.
| (buffer-file-name &optional BUFFER)
| 
| Return name of file BUFFER is visiting, or nil if none.
| No argument or nil as argument means use the current buffer.
| 
`----

-- 
Jesper Harder                                <http://purl.org/harder/>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]