From 9108035c9799662dc07d6e5343ec9ada26c75b9d Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sun, 16 Dec 2018 15:47:49 -0500 Subject: [PATCH] Fix #4: CPU 100% Also change version to 1.4 --- eldoc-box.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eldoc-box.el b/eldoc-box.el index 20684a3..78c8c32 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017-2018 Sebastien Chapuis, 2018 Yuan Fu -;; Version: 1.3 +;; Version: 1.4 ;; Author: Sebastien Chapuis ;; Maintainer: Yuan Fu @@ -225,7 +225,7 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'." ;; setup another one to make sure the doc frame is cleared ;; once the condition above it met (setq eldoc-box--cleanup-timer - (run-with-idle-timer 1 nil #'eldoc-box--maybe-cleanup)))) + (run-with-timer 1 nil #'eldoc-box--maybe-cleanup)))) (defun eldoc-box--eldoc-message-function (str &rest args) "Front-end for eldoc. Display STR in childframe and ARGS works like `message'."