Skip to content

Commit c247d0b

Browse files
committed
Resolve issue #100 (bug fix for session_default_overwrite implementation)
1 parent d833471 commit c247d0b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Recently this plug-in switched from reimplementing [:mksession][mksession] to ac
256256
<!-- Start of generated documentation -->
257257

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

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

autoload/xolox/session.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
" Public API for the vim-session plug-in.
22
"
33
" Author: Peter Odding
4-
" Last Change: July 7, 2014
4+
" Last Change: July 30, 2014
55
" URL: http://peterodding.com/code/vim/session/
66

7-
let g:xolox#session#version = '2.6.1'
7+
let g:xolox#session#version = '2.6.2'
88

99
" Public API for session persistence. {{{1
1010

@@ -460,7 +460,7 @@ function! xolox#session#auto_save() " {{{2
460460
let is_tab_scoped = xolox#session#is_tab_scoped()
461461
let msg = "Do you want to save your %s before quitting Vim?"
462462
if s:prompt(printf(msg, xolox#session#get_label(name, is_tab_scoped)), ['&Yes', '&No'], 'g:session_autosave') == 1
463-
if g:session_default_overwrite && (name == g:session_default_overwrite)
463+
if g:session_default_overwrite && (name == g:session_default_name)
464464
let bang = '!'
465465
else
466466
let bang = ''

doc/session.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ might take a while...)
513513
Function reference ~
514514

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

518518
-------------------------------------------------------------------------------
519519
*public-api-for-vim-session-plug-in*

0 commit comments

Comments
 (0)