Subject: bug#29972: 25.3; dired-hide-details-mode does not persist in desktop session

From: Eli Zaretskii <[email-masked]>
Date: Fri, 05 Jan 2018 20:20:46 +0200

> From: Jimmy Yuen Ho Wong <[email-masked]>
> Date: Fri, 5 Jan 2018 17:42:49 +0000
> Cc: [email-masked]
> 
> The fundamental reason appears to be desktop.el needs an efficient and reliable way to know what buffer
> local variables are minor modes, since `minor-mode-list` is just a global list of loaded minor-modes,
> `minor-mode-alist` is as close as you get.

So maybe desktop.el should have defcustom with the list of minor
modes, whose default value is computed from minor-mode-alist, but
which users could customize to add any additional minor modes?