Variable: desktop-buffers-not-to-save-function

desktop-buffers-not-to-save-function is a variable defined in desktop.el.gz.

Value

nil

Documentation

Function identifying buffers that are to be excluded from saving.

Like desktop-buffers-not-to-save it can be used to check whether a given buffer should not be saved. It takes the same arguments as desktop-save-buffer-p and should return nil if buffer should not have its state saved in the desktop file.

Source Code

;; Defined in /usr/src/emacs/lisp/desktop.el.gz
;; ----------------------------------------------------------------------------
(defvar desktop-buffers-not-to-save-function nil
  "Function identifying buffers that are to be excluded from saving.
Like `desktop-buffers-not-to-save' it can be used to check whether
a given buffer should not be saved.  It takes the same arguments as
`desktop-save-buffer-p' and should return nil if buffer should not
have its state saved in the desktop file.")