aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-11-01 11:27:42 -0400
committerGitHub <noreply@github.com>2021-11-01 11:27:42 -0400
commitb8eabb37b1d4e267a4db7e639e8cbdec2ed64b8e (patch)
treed8fc27ffbbb9ece2b15008b09d4b4a6b89d0d20b /src/nvim/vim.h
parent961cd83b3b39855b232841f37ded856c8621bd90 (diff)
parent9e479ea05e00e63ccc985fc8ce4912c709f30111 (diff)
downloadrneovim-b8eabb37b1d4e267a4db7e639e8cbdec2ed64b8e.tar.gz
rneovim-b8eabb37b1d4e267a4db7e639e8cbdec2ed64b8e.tar.bz2
rneovim-b8eabb37b1d4e267a4db7e639e8cbdec2ed64b8e.zip
Merge pull request #16131 from jamessan/vim-8.1.0306
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 7334dfccb7..726670f082 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -254,9 +254,9 @@ enum { FOLD_TEXT_LEN = 51, }; //!< buffer size for get_foldtext()
#include "nvim/message.h"
-// Prefer using emsgf(), because perror() may send the output to the wrong
+// Prefer using semsg(), because perror() may send the output to the wrong
// destination and mess up the screen.
-#define PERROR(msg) (void)emsgf("%s: %s", msg, strerror(errno))
+#define PERROR(msg) (void)semsg("%s: %s", msg, strerror(errno))
#define SHOWCMD_COLS 10 // columns needed by shown command