[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: global dired-hide-details-mode

From: Alexander Klimov
Subject: Re: global dired-hide-details-mode
Date: Mon, 7 Nov 2016 16:11:28 +0200

On Mon, 7 Nov 2016, Michael Heerdegen wrote:
> > Looks like there is no way to customize Emacs so that every 
> > new dired buffer starts with dired-hide-details-mode, but g 
> > (that is revert-buffer) keeps the details state.
> Doesn't
> (add-hook 'dired-mode-hook
>         (lambda () (dired-hide-details-mode +1)))
> behave like that?

Yes, thanks!

Somehow I missed dired-mode-hook, probably I was under impression that 
using it instead of dired-before-readin-hook will force reading 
the directory twice.

Btw, the following also works:

 (add-hook 'dired-mode-hook 'dired-hide-details-mode)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]