kugel-/geany — comment on commit 19b4d462902bcc717350a52ea02ae190bfaabce5
File: src/main.c line 923
By kugel-:

'geany -r project.geany' should load all session/project files read-only. Do you disagree with that?

'geany -r' should be equivalent to 'geany' since -r only applies to command line files. That should work since load_startup_files() is unconditionally called.

As you highlight that hunk, I spot a bug. There's an early return in load_startup_files() which doesn't reset the option.