Alist of functions to restore non-standard minor modes.
Functions are called by `desktop-create-buffer' to restore minor modes.
List elements must have the form
(MINOR-MODE . RESTORE-FUNCTION).
Minor modes not specified here, are restored by the standard minor mode
function.
Handlers are called with argument list
(DESKTOP-BUFFER-LOCALS)
Furthermore, they may use the following variables:
desktop-file-version
desktop-buffer-file-name
desktop-buffer-name
desktop-buffer-major-mode
desktop-buffer-minor-modes
desktop-buffer-point
desktop-buffer-mark
desktop-buffer-read-only
desktop-buffer-misc
When a handler is called, the buffer has been created and the major mode has
been set, but local variables listed in desktop-buffer-locals has not yet been
created and set.
Modules that define a minor mode that needs a special handler should contain
code like
(defun foo-desktop-restore
...
(add-to-list 'desktop-minor-mode-handlers
'(foo-mode . foo-desktop-restore))
Furthermore the minor mode function must be autoloaded.
See also `desktop-minor-mode-table'.