jamescherti / easysession.el

Emacs package: Easily persist and restore your editing sessions effortlessly.
https://github.com/jamescherti/easysession.el
GNU General Public License v3.0
24 stars 2 forks source link

Add the defcustom containing a function retrieve the buffers for persistence and restoration #9

Closed jamescherti closed 1 month ago

jamescherti commented 1 month ago

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.