diff options
author | Calvin Beck <hobbes@ualberta.ca> | 2018-11-12 15:44:36 -0500 |
---|---|---|
committer | Calvin Beck <hobbes@ualberta.ca> | 2018-11-12 15:44:36 -0500 |
commit | 2e11625031b7cf77ae9c14f815599c9003af8347 (patch) | |
tree | dd32f0b6e424693bc006477488a21dde2bfd7813 | |
parent | 15cf5a3f1e3ba35d832e1464a1b729905aed78a8 (diff) |
Remove code that hides mode-line.
-rw-r--r-- | generic/proof-utils.el | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/generic/proof-utils.el b/generic/proof-utils.el index 4a0ca857..b4e7e0d1 100644 --- a/generic/proof-utils.el +++ b/generic/proof-utils.el @@ -311,16 +311,7 @@ Ensure that point is visible in window." ;; inside shrink to fit, for some reason (when (window-live-p window) (unless (pos-visible-in-window-p (point) window) - (recenter -1)) - (with-current-buffer buffer - (if (window-bottom-p window) - (unless (local-variable-p 'mode-line-format) - ;; Don't show any mode line. - (set (make-local-variable 'mode-line-format) nil)) - (unless mode-line-format - ;; If the buffer gets displayed elsewhere, re-add - ;; the modeline. - (kill-local-variable 'mode-line-format)))))))))))) + (recenter -1)))))))))) (defun proof-clean-buffer (buffer) "Erase BUFFER and hide from display if ‘proof-delete-empty-windows’ set. |