Mercurial > org-tools
comparison auto-weave.pl @ 15:6ef9ccf7a17e
fixed critical english bug
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 26 Oct 2011 05:13:16 -0700 |
parents | be73e58d4b24 |
children | f433fae15c50 |
comparison
equal
deleted
inserted
replaced
14:7d7f76b78e33 | 15:6ef9ccf7a17e |
---|---|
18 foreach(@org_files){ | 18 foreach(@org_files){ |
19 # add watchers | 19 # add watchers |
20 $inotify->watch ($_, IN_MODIFY, sub | 20 $inotify->watch ($_, IN_MODIFY, sub |
21 { | 21 { |
22 print ("IGNORE : $ignore_next\n"); | 22 print ("IGNORE : $ignore_next\n"); |
23 # ok, for some reason this get's called exactly | 23 # ok, for some reason this gets called exactly |
24 # twice every time the file is saved from emacs. | 24 # twice every time the file is saved from emacs. |
25 # so ignore every other invocation. | 25 # so ignore every other invocation. |
26 if ($ignore_next) { | 26 if ($ignore_next) { |
27 $ignore_next = 0; | 27 $ignore_next = 0; |
28 return; | 28 return; |