comparison runtime/doc/eval.txt @ 4264:2d1383658bb4

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Fri, 05 Apr 2013 22:26:15 +0200
parents fa4089df54bc
children c80838526eeb
comparison
equal deleted inserted replaced
4263:b4a7b51fcf59 4264:2d1383658bb4
1 *eval.txt* For Vim version 7.3. Last change: 2013 Mar 10 1 *eval.txt* For Vim version 7.3. Last change: 2013 Mar 19
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1155 Thus you can have several "b:foo" variables, one for each buffer. 1155 Thus you can have several "b:foo" variables, one for each buffer.
1156 This kind of variable is deleted when the buffer is wiped out or deleted with 1156 This kind of variable is deleted when the buffer is wiped out or deleted with
1157 |:bdelete|. 1157 |:bdelete|.
1158 1158
1159 One local buffer variable is predefined: 1159 One local buffer variable is predefined:
1160 *b:changedtick-variable* *changetick* 1160 *b:changedtick* *changetick*
1161 b:changedtick The total number of changes to the current buffer. It is 1161 b:changedtick The total number of changes to the current buffer. It is
1162 incremented for each change. An undo command is also a change 1162 incremented for each change. An undo command is also a change
1163 in this case. This can be used to perform an action only when 1163 in this case. This can be used to perform an action only when
1164 the buffer has changed. Example: > 1164 the buffer has changed. Example: >
1165 :if my_changedtick != b:changedtick 1165 :if my_changedtick != b:changedtick