Function: buffer-last-name

buffer-last-name is a function defined in buffer.c.

Signature

(buffer-last-name &optional BUFFER)

Documentation

Return last name of BUFFER, as a string.

BUFFER defaults to the current buffer.

This is the name BUFFER had before the last time it was renamed or immediately before it was killed.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

// Defined in /usr/src/emacs/src/buffer.c
{
  return BVAR (decode_buffer (buffer), last_name);
}