aboutsummaryrefslogtreecommitdiff
path: root/lisp/Makefile
diff options
context:
space:
mode:
authorEllis Kenyo <me@elken.dev>2022-05-08 17:06:25 +0100
committerJonas Bernoulli <jonas@bernoul.li>2022-05-08 20:41:57 +0200
commitf331092df4d4dfc0a2a7424d929a9c845088d57f (patch)
tree8f9114671afac45567e68529e34de2002652f717 /lisp/Makefile
parent09ed9e739b9403520c63bfa21a53892305ffb963 (diff)
magit-revert-rev-file-buffer: Use delay-mode-hook
For that newly-opened buffer to have syntax coloring this function briefly sets buffer-file-name and performs (normal-mode t). This, in turn, triggers related major-mode hooks, which at least in the case of lsp causes issues. Also discussed in https://github.com/doomemacs/doomemacs/pull/6309.
Diffstat (limited to 'lisp/Makefile')
0 files changed, 0 insertions, 0 deletions