Skip to content

Commit

Permalink
Use default pos-tip timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Wiesner committed Nov 10, 2015
1 parent 08adfb4 commit 89a1772
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions flycheck-pos-tip.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@
:group 'flycheck
:link '(url-link :tag "Github" "https://github.com/flycheck/flycheck-pos-tip"))

(defcustom flycheck-pos-tip-timeout 60
"Time in seconds to hide the tooltip after.
Defaults to 60 seconds."
:group 'flycheck-pos-tip
:type 'integer)

(defcustom flycheck-pos-tip-show-function #'flycheck-pos-tip-show
"A function to show messages in a popup.
Expand All @@ -65,8 +58,7 @@ strings, and shall show theses messages in a graphical popup."
"Show a pos-tip popup with MESSAGES.
Uses `pos-tip-show' under the hood."
(pos-tip-show (mapconcat #'identity messages "\n\n")
nil nil nil flycheck-pos-tip-timeout))
(pos-tip-show (mapconcat #'identity messages "\n\n")))

;;;###autoload
(defun flycheck-pos-tip-error-messages (errors)
Expand Down

0 comments on commit 89a1772

Please sign in to comment.