fix(emacs/lean-company): pass dummy continuation for WAIT

This commit is contained in:
Soonho Kong 2014-09-11 13:46:07 -07:00
parent 0b507777f9
commit b31edb2cee

View file

@ -46,7 +46,7 @@ triggers a completion immediately."
(let ((line-number (line-number-at-pos))
(column-number (current-column))
pattern)
(lean-server-send-cmd-sync (lean-cmd-wait) 'identity)
(lean-server-send-cmd-sync (lean-cmd-wait) '(lambda () ()))
(cond
((looking-at (rx symbol-start "_"))
(setq pattern (if current-prefix-arg