diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-09-16 15:34:16 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-09-16 15:34:16 +0100 |
commit | ad023c348b5ba9057ab3841883d2310d3a37b6e2 (patch) | |
tree | 5de41ad5bbdecdbbba83dc46ce95f421557ddddf /Emacs | |
parent | 09fc2fa0114ac12bc968173ee15fcfe53b0565e3 (diff) | |
download | dotfiles-ad023c348b5ba9057ab3841883d2310d3a37b6e2.tar.gz dotfiles-ad023c348b5ba9057ab3841883d2310d3a37b6e2.tar.bz2 dotfiles-ad023c348b5ba9057ab3841883d2310d3a37b6e2.zip |
(Emacs)~+dired/omit-dot-files: dired-omit-mode set after +dired/omit-mode
Flip ~+dired/omit-mode~'s value before toggling dired-omit-mode.
Diffstat (limited to 'Emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index a35f9cb..0ab6831 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1500,8 +1500,8 @@ are some corners I'd like to adjust). (defvar +dired/omit-mode nil) (defun +dired/omit-dot-files () (interactive) - (dired-omit-mode (if +dired/omit-mode 1 -1)) (setq-local +dired/omit-mode (not +dired/omit-mode)) + (dired-omit-mode (if +dired/omit-mode 1 -1)) (revert-buffer)) :hook (dired-mode-hook . dired-hide-details-mode) |