Mercurial > vim
comparison src/message.c @ 25609:f8bcd21e6e24 v8.2.3341
patch 8.2.3341: Vim9: function call aborted despite try/catch
Commit: https://github.com/vim/vim/commit/88c89c77229e725ab2613b022249e2f506d82b82
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 14 14:01:05 2021 +0200
patch 8.2.3341: Vim9: function call aborted despite try/catch
Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
Solution: Ignore error caught by try/catch. (closes https://github.com/vim/vim/issues/8755)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Aug 2021 14:15:03 +0200 |
parents | 0082503ff2ff |
children | 373278f5bd51 |
comparison
equal
deleted
inserted
replaced
25608:8b76de69fa55 | 25609:f8bcd21e6e24 |
---|---|
731 beep_flush(); // also includes flush_buffers() | 731 beep_flush(); // also includes flush_buffers() |
732 else | 732 else |
733 flush_buffers(FLUSH_MINIMAL); // flush internal buffers | 733 flush_buffers(FLUSH_MINIMAL); // flush internal buffers |
734 ++did_emsg; // flag for DoOneCmd() | 734 ++did_emsg; // flag for DoOneCmd() |
735 #ifdef FEAT_EVAL | 735 #ifdef FEAT_EVAL |
736 did_uncaught_emsg = TRUE; | 736 ++uncaught_emsg; |
737 #endif | 737 #endif |
738 } | 738 } |
739 | 739 |
740 emsg_on_display = TRUE; // remember there is an error message | 740 emsg_on_display = TRUE; // remember there is an error message |
741 ++msg_scroll; // don't overwrite a previous message | 741 ++msg_scroll; // don't overwrite a previous message |