Fix #4: CPU 100%

Also change version to 1.4
This commit is contained in:
Yuan Fu 2018-12-16 15:47:49 -05:00
parent dd634c62ae
commit 9108035c97
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -2,7 +2,7 @@
;; Copyright (C) 2017-2018 Sebastien Chapuis, 2018 Yuan Fu ;; Copyright (C) 2017-2018 Sebastien Chapuis, 2018 Yuan Fu
;; Version: 1.3 ;; Version: 1.4
;; Author: Sebastien Chapuis <sebastien@chapu.is> ;; Author: Sebastien Chapuis <sebastien@chapu.is>
;; Maintainer: Yuan Fu <casouri@gmail.com> ;; Maintainer: Yuan Fu <casouri@gmail.com>
@ -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 ;; setup another one to make sure the doc frame is cleared
;; once the condition above it met ;; once the condition above it met
(setq eldoc-box--cleanup-timer (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) (defun eldoc-box--eldoc-message-function (str &rest args)
"Front-end for eldoc. Display STR in childframe and ARGS works like `message'." "Front-end for eldoc. Display STR in childframe and ARGS works like `message'."