I'm trying to hook into
find-file-literally to turn off some global minor modes when visiting a file literally (which I usually do for large files).
However, it does not appear that
find-file-hook is run when vising a file literally. The documentation does not mention this, so I'm wondering if this is expected behavior. In any case, what's another way to accomplish the above?
I'm using Emacs 27.1.