fix(emacs/lean-server.el): lean-server-trace-buffer-name was changed to a function

This commit is contained in:
Soonho Kong 2015-02-25 14:21:23 -05:00
parent 4f79d12da7
commit db1fba3ddc

View file

@ -75,8 +75,8 @@
(when lean-debug-mode
(when lean-global-server-last-time-sent
(let ((time-diff (- (float-time) lean-global-server-last-time-sent)))
(lean-output-to-buffer lean-server-trace-buffer-name
"SLEEP %i\n"
(lean-output-to-buffer (lean-server-trace-buffer-name)
"SLEEP %i\n"
`(,(truncate (* 1000 time-diff))))))
(setq lean-global-server-last-time-sent (float-time))
(lean-output-to-buffer (lean-server-trace-buffer-name)