Skip to content

Commit

Permalink
open.vim: Bug fix for error handling code (the "not implemented" mess…
Browse files Browse the repository at this point in the history
…age)
  • Loading branch information
xolox committed Jun 19, 2013
1 parent 37211f3 commit cf92d5a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -38,7 +38,7 @@ from the source code of the miscellaneous scripts using the Python module
<!-- Start of generated documentation -->

The documentation of the 67 functions below was extracted from
15 Vim scripts on June 3, 2013 at 21:53.
15 Vim scripts on June 19, 2013 at 20:20.

### Handling of special buffers

Expand Down
4 changes: 2 additions & 2 deletions autoload/xolox/misc.vim
@@ -1,7 +1,7 @@
" The version of my miscellaneous scripts.
"
" Author: Peter Odding <peter@peterodding.com>
" Last Change: June 3, 2013
" Last Change: June 19, 2013
" URL: http://peterodding.com/code/vim/misc/

let g:xolox#misc#version = '1.6'
let g:xolox#misc#version = '1.6.1'
6 changes: 3 additions & 3 deletions autoload/xolox/misc/open.vim
@@ -1,10 +1,10 @@
" Integration between Vim and its environment.
"
" Author: Peter Odding <peter@peterodding.com>
" Last Change: May 25, 2013
" Last Change: June 19, 2013
" URL: http://peterodding.com/code/vim/misc/

let s:enoimpl = "vim-misc %s: %s() hasn't been implemented for your platform! If you have suggestions, please contact peter@peterodding.com."
let s:enoimpl = "vim-misc %s: %s() hasn't been implemented for your platform! If you have suggestions, please get in touch at https://github.com/xolox/vim-misc/issues"
let s:handlers = ['gnome-open', 'kde-open', 'exo-open', 'xdg-open']

function! xolox#misc#open#file(path, ...) " {{{1
Expand Down Expand Up @@ -43,7 +43,7 @@ function! xolox#misc#open#file(path, ...) " {{{1
endif
endfor
endif
throw printf(s:enoimpl, s:script, 'xolox#misc#open#file')
throw printf(s:enoimpl, g:xolox#misc#version, 'xolox#misc#open#file')
endfunction

function! xolox#misc#open#url(url) " {{{1
Expand Down
2 changes: 1 addition & 1 deletion doc/misc.txt
Expand Up @@ -137,7 +137,7 @@ from the source code of the miscellaneous scripts using the Python module
'vimdoctool.py' included in vim-tools [5].

The documentation of the 67 functions below was extracted from 15 Vim scripts
on June 3, 2013 at 21:53.
on June 19, 2013 at 20:20.

-------------------------------------------------------------------------------
*misc-handling-of-special-buffers*
Expand Down

0 comments on commit cf92d5a

Please sign in to comment.