So in ediff I can press m
to widen the frame but if I quit before pressing it again to restore to the original size, then the frame stays that size. I'd like to automate this so that if I forgot to press m
before quitting ediff, it will "press" m
for me.
I found some elisp that claims to do this:
(add-hook 'ediff-cleanup-hook
(lambda () (if ediff-wide-display-p 'ediff-toggle-wide-display)))
However, it doesn't seem to be having any effect. Can this be done after all?