File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ from the source code of the miscellaneous scripts using the Python module
38
38
<!-- Start of generated documentation -->
39
39
40
40
The documentation of the 68 functions below was extracted from
41
- 15 Vim scripts on June 19, 2013 at 21:05 .
41
+ 15 Vim scripts on June 19, 2013 at 22:53 .
42
42
43
43
### Handling of special buffers
44
44
Original file line number Diff line number Diff line change 4
4
" Last Change: June 19, 2013
5
5
" URL: http://peterodding.com/code/vim/misc/
6
6
7
- let g: xolox #misc#version = ' 1.6.2 '
7
+ let g: xolox #misc#version = ' 1.6.3 '
Original file line number Diff line number Diff line change @@ -67,7 +67,10 @@ function! xolox#misc#open#url(url) " {{{1
67
67
let url = ' mailto:' . url
68
68
endif
69
69
endif
70
- if has (' unix' ) && ! has (' gui_running' ) && $DISPLAY == ' '
70
+ let on_unix = has (' unix' )
71
+ let not_on_mac = ! xolox#misc#os#is_mac ()
72
+ let no_gui_available = (has (' gui_running' ) == 0 && $DISPLAY == ' ' )
73
+ if on_unix && not_on_mac && no_gui_available
71
74
call xolox#misc#msg#debug (" vim-misc %s: Using command line web browser because no GUI seems to be available .." , g: xolox #misc#version )
72
75
for browser in [' lynx' , ' links' , ' w3m' ]
73
76
call xolox#misc#msg#debug (" vim-misc %s: Checking whether %s command line web browser is installed .." , g: xolox #misc#version , string (browser))
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ from the source code of the miscellaneous scripts using the Python module
138
138
'vimdoctool.py' included in vim-tools [5].
139
139
140
140
The documentation of the 68 functions below was extracted from 15 Vim scripts
141
- on June 19, 2013 at 21:05 .
141
+ on June 19, 2013 at 22:53 .
142
142
143
143
-------------------------------------------------------------------------------
144
144
*misc-handling-of-special-buffers*
You can’t perform that action at this time.
0 commit comments