summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-05 14:26:41 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-05 14:26:41 +0200
commit85de20665f3ed48345b79cd0920af41397544141 (patch)
treeb98afef3eb7390370eb7fd46ab0bcedd712da5f4 /src/globals.h
parent72bb0d64554d671deb70724774f2a93c2d17c407 (diff)
downloadvim-git-85de20665f3ed48345b79cd0920af41397544141.tar.gz
updated for version 7.3.171v7.3.171
Problem: When the clipboard isn't supported: ":yank*" gives a confusing error message. Solution: Specifically mention that the register name is invalid. (Jean-Rene David)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 3685fc732..4b5544686 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1561,6 +1561,9 @@ EXTERN char_u e_bufloaded[] INIT(= N_("E139: File is loaded in another buffer"))
(defined(FEAT_INS_EXPAND) && defined(FEAT_COMPL_FUNC))
EXTERN char_u e_notset[] INIT(= N_("E764: Option '%s' is not set"));
#endif
+#ifndef FEAT_CLIPBOARD
+EXTERN char_u e_invalidreg[] INIT(= N_("E850: Invalid register name"));
+#endif
#ifdef MACOS_X_UNIX
EXTERN short disallow_gui INIT(= FALSE);