aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-12-26 19:17:55 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-12-30 01:16:32 -0500
commit76bf21de26340a93005deea0c2f846edc6fc3743 (patch)
treec6f7cee21fc4dfadb8718cc3876edc8c0282fe7f /src/nvim/buffer.c
parentd8a2007d477cea2174e20b49342d5feb0bfdb7ce (diff)
downloadrneovim-76bf21de26340a93005deea0c2f846edc6fc3743.tar.gz
rneovim-76bf21de26340a93005deea0c2f846edc6fc3743.tar.bz2
rneovim-76bf21de26340a93005deea0c2f846edc6fc3743.zip
vim-patch:7.4.605
Problem: The # register is not writable, it cannot be restored after jumping around. Solution: Make the # register writable. (Marcin Szamotulski) https://github.com/vim/vim/commit/3b3a9498d1eab3c28c524cce115160528a9a9297
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 762cd3efd3..f498fca6ad 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -920,7 +920,7 @@ do_buffer (
if (start == DOBUF_FIRST) {
/* don't warn when deleting */
if (!unload)
- EMSGN(_("E86: Buffer %" PRId64 " does not exist"), count);
+ EMSGN(_(e_nobufnr), count);
} else if (dir == FORWARD)
EMSG(_("E87: Cannot go beyond last buffer"));
else