comparison runtime/doc/diff.txt @ 758:d591d4ceeaee

updated for version 7.0224
author vimboss
date Tue, 14 Mar 2006 23:00:46 +0000
parents 4b8583e82cb8
children f0d0d3d3a1e2
comparison
equal deleted inserted replaced
757:8b0484fd9119 758:d591d4ceeaee
1 *diff.txt* For Vim version 7.0aa. Last change: 2006 Feb 18 1 *diff.txt* For Vim version 7.0aa. Last change: 2006 Mar 14
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
376 v:fname_diff patch file 376 v:fname_diff patch file
377 v:fname_out resulting patched file 377 v:fname_out resulting patched file
378 378
379 Example (this does the same as 'patchexpr' being empty): > 379 Example (this does the same as 'patchexpr' being empty): >
380 380
381 let patchexpr=MyPatch 381 let patchexpr=MyPatch()
382 function MyPatch 382 function MyPatch
383 :call system("patch -o " . v:fname_out . " " . v:fname_in . 383 :call system("patch -o " . v:fname_out . " " . v:fname_in .
384 \ " < " . v:fname_diff) 384 \ " < " . v:fname_diff)
385 endfunction 385 endfunction
386 386