Make eldoc work as intended in Emacs 24.