feat(emacs/lean-type): output INFO to *lean-info* buffer in addition to minibuffer
Close #260
This commit is contained in:
parent
0d8658d762
commit
b0e249ce63
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@
|
||||||
(when add-to-kill-ring
|
(when add-to-kill-ring
|
||||||
(kill-new
|
(kill-new
|
||||||
(substring-no-properties info-string)))
|
(substring-no-properties info-string)))
|
||||||
(message "%s" info-string))))
|
(when (or lean-show-proofstate-in-minibuffer
|
||||||
|
(not (lean-info-record-proofstate info-record)))
|
||||||
|
(message "%s" info-string))
|
||||||
|
(lean-output-to-buffer "*lean-info*" "--------------------------\n" nil)
|
||||||
|
(lean-output-to-buffer "*lean-info*" "%s\n" (list info-string)))))
|
||||||
|
|
||||||
(defun lean-eldoc-documentation-function (&optional add-to-kill-ring)
|
(defun lean-eldoc-documentation-function (&optional add-to-kill-ring)
|
||||||
"Show information of lean expression at point if any"
|
"Show information of lean expression at point if any"
|
||||||
|
|
Loading…
Reference in a new issue