Patch 8.1.1775
Problem: Error message may be empty in filetype test.
Solution: Use v:exception instead. (Daniel Hahler, closs #4744)
Files: src/testdir/test_filetype.vim
*** ../vim-8.1.1774/src/testdir/test_filetype.vim 2019-07-27
21:56:44.836171922 +0200
--- src/testdir/test_filetype.vim 2019-07-29 21:01:57.267105986 +0200
***************
*** 521,527 ****
try
exe 'edit ' . fnameescape(names[i])
catch
! call assert_report('cannot edit "' . names[i] . '": ' . v:errmsg)
endtry
if &filetype == '' && &readonly
" File exists but not able to edit it (permission denied)
--- 521,527 ----
try
exe 'edit ' . fnameescape(names[i])
catch
! call assert_report('cannot edit "' . names[i] . '": ' . v:exception)
endtry
if &filetype == '' && &readonly
" File exists but not able to edit it (permission denied)
*** ../vim-8.1.1774/src/version.c 2019-07-29 21:03:41.882446185 +0200
--- src/version.c 2019-07-29 21:14:17.158545956 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1775,
/**/
--
At some point in the project somebody will start whining about the need to
determine the project "requirements". This involves interviewing people who
don't know what they want but, curiously, know exactly when they need it.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201907291915.x6TJFBXb000632%40masaka.moolenaar.net.