emacs: Add a workaround for popup mangling