I use straight to install org-fc
and use-package
to configure it. If I open the demo file and inadvertently edit it I create a dirty worktree even if undo the accidental edits. straight
then warns about this dirty worktree when updating my straight
lockfile. Would it be possible to make the demo file read only?
org-fc-demo
will now open the file inread-only-mode
.Upon closer reading of your report, I think you meant opening the demo file manually. I'd prefer not to make the file read-only all the time, so as a workaround, every time you want to look at the demo file, you can run
org-fc-demo
and immediately quit the review.