What is the role of the frame-buffer-list parameter in Emacs

In emacs, I read the following code snippet in simple.el:

(frame-parameter frame 'buried-buffer-list)

What is the exact value of the parameter 'buried-buffer-list? What is it used for?

+5
source share
2 answers

The result M-x describe function RET frame-parameteris:

frame-parameter is a built-in function.

(frame-parameter FRAME PARAMETER)

Returns the FRAME value for the PARAMETER parameter. If FRAME is zero, describe the currently selected frame.

Also, see the Elisp reference guide for node called Frame / Frame Settings . There is no specific link to the "hidden buffer list" that I could find.

Perhaps you can get its value by evaluating:

(cdr (frame-parameter FRAME 'buffer-list))

" " - , . . bury-buffer:

bury-buffer - Lisp `window.el '.

(bury-buffer & optional BUFFER-OR-NAME)

BUFFER-OR-NAME . "-" ; C-x b .

BUFFER-OR-NAME . BUFFER-OR-NAME , . , BUFFER-OR-NAME , , .

+1

http://www.update.uu.se/~ams/slask/emacs/src/frame.h :

List of buffers that were viewed, then buried in this frame.  The
most recently buried buffer is first.  

, cdr , .

+1

All Articles