See updated PR. I removed the `doc` condition but kept the `doc->file_name` condition. I still do not quite understand how an assertion would be useful here, so I chose not to add it; hope that’s OK.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1537#issuecomment-315489855
