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

Well, I thought it would be ok, if not even desired, as the parameter can already be overridden and cl_options is used a lot in that file (in that function even via set_cursor_position()), so document_open_file_full behavior can already be changed by the global cl_options.

It can be changed to the use param, then main.c needs to call document_open_file_full() instead of just document_open_file(). Then one needs to decide whether main_handle_filename() or even open_cl_files() should also take the parameter.