Description
According to the git log (git log --stat -p -G sr-omit-mode
) there used to be an sr-omit-mode function. That function was a light wrapper around dired-omit-mode
. The wrapper was later removed and dired-omit-mode
is now being used directly.
However, sunrise-tree.el
still has its own sunrise-tree-omit-mode
command. Trying to enable dired-omit-mode
interactively by doing M-x dired-omit-mode
while in sunrise-tree-mode
raises an exception, so that is probably not the intended way and we need a wrapper function. However, I can't get dired-omit-mode to work with the wrapper either: the dired-omit-files
regexp has no effect, and the exact same files are shown with and without omitting.
Further, sunrise-buttons.el
contains a key binding of the sunrise-omit-mode
(was sr-omit-mode
) that doesn't exist anymore. Should that binding now use dired-omit-mode
, or should it be sensitive to whether or not sunrise-tree-mode
is active?