I am using Emacs 25 in SUSE linux and when I switch to a workspace where Emacs is the front window almost none of the text is visible. I have to call redraw-display in order to get it refresh the screen so I can see my text. Is there someway that I could make this automatic? Like whenever Emacs gets focused it calls redraw-display?


Add a hook to the focus event. (add-hook 'focus-in-hook 'redraw-display). Thanks to Håkon Hægland for the Answer!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.