Next: , Previous: , Up: Buffer Names and File Names   [Index]


7.4.5.6 buffer-file-name

Buffer File Name Functions and Variables

Function: buffer-file-name &optional buffer

This function returns the absolute file name of the file that BUFFER is visiting (defaulting to the current buffer). It returns ’nil’ if BUFFER is not visiting a file.