Add the defcustom easysession-buffer-list-function, a variable containing a function that retrieves the buffers for persistence and restoration. This variable holds a function that returns a list of buffers to be saved and restored during session management. By default, it is set to buffer-list, which includes all buffers. You can customize this variable to use a different function, such as one that filters buffers based on visibility or other criteria.
Add the defcustom
easysession-buffer-list-function
, a variable containing a function that retrieves the buffers for persistence and restoration. This variable holds a function that returns a list of buffers to be saved and restored during session management. By default, it is set tobuffer-list
, which includes all buffers. You can customize this variable to use a different function, such as one that filters buffers based on visibility or other criteria.