Note: `real_path` gets set for any documents on disk.

Don't add new document opened from CLI to recent files, because it 
doesn't exist yet. It may be closed unsaved.
No need now to add recent file on Save As, because real_path is nulled before 
calling document_save_file, so that function will add the recent file.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3389

-- Commit Summary --

  * Add recent filename on saving when real_path is not set

-- File Changes --

    M src/document.c (4)
    M src/libmain.c (2)

-- Patch Links --

https://github.com/geany/geany/pull/3389.patch
https://github.com/geany/geany/pull/3389.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3389
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to