bookmark-buffer-name

bookmark-buffer-name is a compiled Lisp function in `bookmark.el'.

(bookmark-buffer-name)

Return the name of the current buffer in a form usable as a bookmark name.
If the buffer is associated with a file or directory, use that name.