aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-05-09 03:02:12 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-05-09 23:18:38 +0200
commit32b0470b03b3892a4ed6c4bfec0d4a5527d996b1 (patch)
treee9e1837347ba34e5a1012da84d3f30d88a2b8935 /src/nvim/message.h
parentc9f3174075a7168f10fabf806891ef59ee3b13d4 (diff)
downloadrneovim-32b0470b03b3892a4ed6c4bfec0d4a5527d996b1.tar.gz
rneovim-32b0470b03b3892a4ed6c4bfec0d4a5527d996b1.tar.bz2
rneovim-32b0470b03b3892a4ed6c4bfec0d4a5527d996b1.zip
API: better way to capture abort-causing non-exception errors
This condition is not perfectly reliable: (did_emsg && force_abort && !current_exception) The more proper way to check for abort-causing non-exception errors is to set up `msg_list` using the "pattern" given by do_cmdline().
Diffstat (limited to 'src/nvim/message.h')
-rw-r--r--src/nvim/message.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/message.h b/src/nvim/message.h
index eede0ed9b1..82935a36a9 100644
--- a/src/nvim/message.h
+++ b/src/nvim/message.h
@@ -85,10 +85,6 @@ extern MessageHistoryEntry *first_msg_hist;
/// Last message
extern MessageHistoryEntry *last_msg_hist;
-/// Abort-causing non-exception error ignored by emsg(), needed by callers
-/// (RPC API) of call_func() to get error details when messages are disabled.
-extern char *msg_first_ignored_err;
-
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "message.h.generated.h"
#endif