Browse files

Silenc show doc errors, if the point is at the end of buffer.

  • Loading branch information...
deftsp committed Jan 15, 2013
1 parent 91fa0ad commit 3a00b4d539629b5289c813366553cd4f3703d982
Showing with 1 addition and 0 deletions.
  1. +1 −0 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.

0 comments on commit 3a00b4d

Please sign in to comment.