Skip to content

Commit

Permalink
Release 0.12.11 including bug fix for saving notes with a bang (issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Nov 18, 2011
1 parent 1ae2312 commit 62a96b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/xolox/notes.vim
@@ -1,12 +1,12 @@
" Vim auto-load script
" Author: Peter Odding <peter@peterodding.com>
" Last Change: November 15, 2011
" Last Change: November 18, 2011
" URL: http://peterodding.com/code/vim/notes/

" Note: This file is encoded in UTF-8 including a byte order mark so
" that Vim loads the script using the right encoding transparently.

let g:xolox#notes#version = '0.12.10'
let g:xolox#notes#version = '0.12.11'

function! xolox#notes#shortcut() " {{{1
" The "note:" pseudo protocol is just a shortcut for the :Note command.
Expand Down Expand Up @@ -250,7 +250,7 @@ function! xolox#notes#save() abort " {{{1
return
endif
let bang = v:cmdbang ? '!' : ''
execute 'saveas' . bang . ' ' . fnameescape(newpath)
execute 'saveas' . bang fnameescape(newpath)
" XXX If {oldpath} and {newpath} end up pointing to the same file on disk
" yet xolox#misc#path#equals() doesn't catch this, we might end up
" deleting the user's one and only note! One way to circumvent this
Expand Down

0 comments on commit 62a96b1

Please sign in to comment.