Emacs: Catch invisible edits