Mercurial > vim-lawrencium
diff autoload/lawrencium/commit.vim @ 140:652a6f5df0f3
Fixed for broken things after the reorganization.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 13 Jun 2016 21:55:40 -0700 |
parents | 065625e1bb31 |
children |
line wrap: on
line diff
--- a/autoload/lawrencium/commit.vim Mon Jun 13 09:32:34 2016 -0700 +++ b/autoload/lawrencium/commit.vim Mon Jun 13 21:55:40 2016 -0700 @@ -20,7 +20,7 @@ endif " Open a commit message file. - let l:commit_path = s:tempname('hg-editor-', '.txt') + let l:commit_path = lawrencium#tempname('hg-editor-', '.txt') let l:split = a:vertical ? 'vsplit' : 'split' execute l:split . ' ' . l:commit_path call append(0, ['', '']) @@ -112,7 +112,7 @@ call lawrencium#trace("Committing with log file: " . a:log_file) " Clean all the 'HG: ' lines. - let l:is_valid = s:clean_commit_file(a:log_file) + let l:is_valid = lawrencium#clean_commit_file(a:log_file) if !l:is_valid call lawrencium#error("abort: Empty commit message") return