Skip to content

Commit

Permalink
Resolve issue #100 (bug fix for session_default_overwrite implementat…
Browse files Browse the repository at this point in the history
…ion)
  • Loading branch information
xolox committed Jul 30, 2014
1 parent d833471 commit c247d0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -256,7 +256,7 @@ Recently this plug-in switched from reimplementing [:mksession][mksession] to ac
<!-- Start of generated documentation -->

The documentation of the 37 functions below was extracted from
2 Vim scripts on July 7, 2014 at 01:17.
2 Vim scripts on July 30, 2014 at 21:49.

### Public API for the vim-session plug-in

Expand Down
6 changes: 3 additions & 3 deletions autoload/xolox/session.vim
@@ -1,10 +1,10 @@
" Public API for the vim-session plug-in.
"
" Author: Peter Odding
" Last Change: July 7, 2014
" Last Change: July 30, 2014
" URL: http://peterodding.com/code/vim/session/

let g:xolox#session#version = '2.6.1'
let g:xolox#session#version = '2.6.2'

" Public API for session persistence. {{{1

Expand Down Expand Up @@ -460,7 +460,7 @@ function! xolox#session#auto_save() " {{{2
let is_tab_scoped = xolox#session#is_tab_scoped()
let msg = "Do you want to save your %s before quitting Vim?"
if s:prompt(printf(msg, xolox#session#get_label(name, is_tab_scoped)), ['&Yes', '&No'], 'g:session_autosave') == 1
if g:session_default_overwrite && (name == g:session_default_overwrite)
if g:session_default_overwrite && (name == g:session_default_name)
let bang = '!'
else
let bang = ''
Expand Down
2 changes: 1 addition & 1 deletion doc/session.txt
Expand Up @@ -513,7 +513,7 @@ might take a while...)
Function reference ~

The documentation of the 37 functions below was extracted from 2 Vim scripts on
July 7, 2014 at 01:17.
July 30, 2014 at 21:49.

-------------------------------------------------------------------------------
*public-api-for-vim-session-plug-in*
Expand Down

0 comments on commit c247d0b

Please sign in to comment.