From 3a00b4d539629b5289c813366553cd4f3703d982 Mon Sep 17 00:00:00 2001 From: Shihpin Tseng Date: Tue, 15 Jan 2013 14:01:52 +0800 Subject: [PATCH] Silenc show doc errors, if the point is at the end of buffer. --- haskell-doc.el | 1 + 1 file changed, 1 insertion(+) diff --git a/haskell-doc.el b/haskell-doc.el index 211fb4a99..17212dda1 100644 --- a/haskell-doc.el +++ b/haskell-doc.el @@ -1507,6 +1507,7 @@ is not." This function is run by an idle timer to print the type automatically if `haskell-doc-mode' is turned on." (and haskell-doc-mode + (not (eobp)) (not executing-kbd-macro) ;; Having this mode operate in the minibuffer makes it impossible to ;; see what you're doing.