Skip to content

Commit

Permalink
Avoid clearing echo area during info-buffer redisplay (#49)
Browse files Browse the repository at this point in the history
When the mode is entered asynchronously (for fontification in
"lean4-info-buffer-redisplay"), calling "set-input-method" has the
side effect of clearing the echo area, disrupting eldoc.
Since the info buffer is read-only, there is no need for an input
method.
  • Loading branch information
bustercopley authored Feb 23, 2024
1 parent 82241b9 commit ecd200b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lean4-info.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
(set (make-local-variable 'font-lock-defaults) lean4-info-font-lock-defaults)
(set (make-local-variable 'indent-tabs-mode) nil)
(set 'compilation-mode-font-lock-keywords '())
(set-input-method "Lean")
(set (make-local-variable 'lisp-indent-function)
'common-lisp-indent-function))

Expand Down

0 comments on commit ecd200b

Please sign in to comment.