Remove needless 'with-temp-buffer'
Refactoring for supporting new vcs in the future
Update document