ffevotte / desktop-plus

desktop+: extensions to Emacs' standard desktop library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to prevent flycheck to check buffers that are not on when restoring?

angrybacon opened this issue · comments

I'm currently using desktop and have the issue described in the title. I just stumbled on this package and am willing to give it a try as the features will be useful.

However I'm hoping this package has (more) control over the behavior when restoring sessions.

I was thinking of:

  1. Prevent flycheck checks when buffers are created as restoring is occurring
  2. Call flycheck-buffer for each visible buffers once restoring has finished

Is 1. possible with desktop-plus? ie. detect that the session is being restored and temporarily remove mode-enabled from flycheck-check-syntax-automatically