fixed variable 'buffer' is void

A varibale 'buffer' is void at call fill-types, so assign current-buffer.
Merge pull request #39 from takaishi/fix-variable-is-void

fixed variable 'buffer' is void