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

From: Drew Adams <[email-masked]>
Date: Fri, 5 Jan 2018 10:37:54 -0800 (PST)

`describe-mode' uses `minor-mode-list' (`list', not
`alist') to determine which minor modes are active
in the current buffer.

It also uses `minor-mode-alist', because of what
this comment says:

;; Older packages do not register in minor-mode-list
;; but only in `minor-mode-alist'.

The code that determines which minor modes are
active in the current buffer could be factored
out into a separate funtion, and that could be
used, for example, by desktop.