[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36223: 26.1; dired-omit-mode breaks recover-session
From: |
Lars Ingebrigtsen |
Subject: |
bug#36223: 26.1; dired-omit-mode breaks recover-session |
Date: |
Thu, 10 Oct 2019 01:35:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Erik Hahn <erik_hahn@gmx.de> writes:
> I enabled dired-omit-mode globally by adding it to dired-mode-hook, as
> suggested by the manual. Now recover-session just displays a seemingly
> empty directory because all session files are omitted.
>
> I did not customize any dired-* variables.
>
> It's easy to work around now that I know the culprit but at first I
> thought session recovery just didn't work.
Yes, that's an unfortunate interaction between a minor mode that the
manual suggest putting into the hook and the way `recover-session'
works. I've now added an ugly hack to the latter to temporarily remove
that function from the hook before calling `dired' in Emacs 27.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#36223: 26.1; dired-omit-mode breaks recover-session,
Lars Ingebrigtsen <=