add workaround for emacs bug #11943: 24.1.50; Emacs unusably slow when looking at large files