Subject: Re: bug#78713: 30.1; Doc of `desktop-restore-mode-handlers'

From: Eli Zaretskii <[email-masked]>
Date: Sat, 07 Jun 2025 09:41:11 +0300

> Date: Fri, 6 Jun 2025 21:08:44 +0000
> From:  Drew Adams via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> The doc string says only this about the handler args:
> 
> Handlers are called with argument list
> 
>    (DESKTOP-BUFFER-FILE-NAME DESKTOP-BUFFER-NAME DESKTOP-BUFFER-MISC)
> 
> It should say something about each of those args, in particular, it's
> not easy to guess what DESKTOP-BUFFER-MISC is.

I think DESKTOP-BUFFER-MISC is not used nowadays (i.e. always nil).
It seems to be a backward compatibility shim or something.

But to properly document this we need a desktop.el expert.  I CC
Juanma in the hope that he could find some time to help us out here.