Fix "making delay-mode-hooks buffer-local" message