[OS X Emacs] Get file name?

David Reitter david.reitter at gmail.com
Mon Aug 1 10:38:43 EDT 2011

On Aug 1, 2011, at 10:35 AM, Nuel Belnap wrote:

> I can't figure out how to get the file-name of the document on which I am working,
> so that the file-name can be printed as part of the document.  I suppose it's easy, but I am 
> a tyro.  Help, please.

The variable is `buffer-file-name'.

http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!

More information about the MacOSX-Emacs mailing list