• Juri Linkov's avatar
    Wrap some set-auto-mode calls with delay-mode-hooks (bug#39190) · 09eed01a
    Juri Linkov authored
    * lisp/gnus/mm-view.el (mm-display-inline-fontify):
    * lisp/vc/diff-mode.el (diff-syntax-fontify-props):
    * lisp/vc/vc.el (vc-find-revision-no-save):
    Add delay-mode-hooks around set-auto-mode calls
    to not run hooks that might assume buffer-file-name
    really associates buffer with a file.
    09eed01a
mm-view.el 20.9 KB