fix(emacs/lean-changes): visit file before process any changes
This solves many instances of the modified buffer problem.
This commit is contained in:
parent
c0725d1934
commit
e255b02fca
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ It saves the following information to the global variable:
|
|||
|
||||
These information will be used by lean-after-changed-function."
|
||||
(lean-server-get-process)
|
||||
(lean-server-check-current-file)
|
||||
(setq lean-global-before-change-beg beg)
|
||||
(setq lean-global-before-change-end end)
|
||||
(setq lean-global-before-change-beg-line-number (line-number-at-pos beg))
|
||||
|
|
Loading…
Reference in a new issue