<p>Ok, only suggestion is to get rid of the new completely, maybe<code>document_create_file</code> analogous to the standard file <code>creat</code> call (but spelled right).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1094#issuecomment-229371469">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ0d7UuYSnW6uQkxxErvL5hiWrzzGks5qQn-4gaJpZM4I_g8D">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7Kc4OAH9eQvdSyCKHk5rBF2kHyQks5qQn-4gaJpZM4I_g8D.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1094#issuecomment-229371469"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>