commit | bf88d27adc040da95ee6a75b24ad26079cf10f38 | [log] [tgz] |
---|---|---|
author | Chris Allegretta <chrisa@asty.org> | Tue Jan 01 03:24:39 2013 +0000 |
committer | Chris Allegretta <chrisa@asty.org> | Tue Jan 01 03:24:39 2013 +0000 |
tree | 31ede631b5f0d8b7309e18f93b88105d71a114cc | |
parent | 2ad1de0ba6de9325a7c3b86e9ef4d7911f1477d0 [diff] |
2012-12-31 Chris Allegretta <chrisa@asty.org> * src/*: Introduce (basic) vim-style file locks. Does not allow vim to recover our files, and doesn't yet support setting the file as modified; just lets a vim user know we're editing a file. Commands line "-G" or "--locking", nanorc option "locking". New functions src/files.c:do_lockfile(), write_lockfile(), and delete_lockfile(). git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8