aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-shell.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index cb9ed2bb..4f89963e 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -1658,6 +1658,14 @@ i.e., 'goals or 'response."
;; indicate that (only) a response output has been given
'response))
+ ;; FIXME (CPC 2015-12-31): The documentation of this hook suggests that it
+ ;; only gets run after new output has been displayed, but this isn't true at
+ ;; the moment: indeed, it gets run even for invisible commands.
+ ;;
+ ;; This causes issues in company-coq, where completion uses invisible
+ ;; commands to display the types of completion candidates; this causes the
+ ;; goals and response buffers to scroll. I fixed it by adding checks to
+ ;; coq-mode's hooks, but maybe we should do more.
(run-hooks 'proof-shell-handle-delayed-output-hook)))