comparison src/map.c @ 26915:3631d2deb36c v8.2.3986

patch 8.2.3986: error messages are spread out Commit: https://github.com/vim/vim/commit/b09feaa86ecc53b9b953710082496951776dc5c6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 20:20:45 2022 +0000 patch 8.2.3986: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jan 2022 21:30:04 +0100
parents d4e61d61afd9
children 1a56c0252772
comparison
equal deleted inserted replaced
26914:21f9376239a4 26915:3631d2deb36c
2372 lhsraw = dict_get_string(d, (char_u *)"lhsraw", FALSE); 2372 lhsraw = dict_get_string(d, (char_u *)"lhsraw", FALSE);
2373 lhsrawalt = dict_get_string(d, (char_u *)"lhsrawalt", FALSE); 2373 lhsrawalt = dict_get_string(d, (char_u *)"lhsrawalt", FALSE);
2374 rhs = dict_get_string(d, (char_u *)"rhs", FALSE); 2374 rhs = dict_get_string(d, (char_u *)"rhs", FALSE);
2375 if (lhs == NULL || lhsraw == NULL || rhs == NULL) 2375 if (lhs == NULL || lhsraw == NULL || rhs == NULL)
2376 { 2376 {
2377 emsg(_("E460: entries missing in mapset() dict argument")); 2377 emsg(_(e_entries_missing_in_mapset_dict_argument));
2378 return; 2378 return;
2379 } 2379 }
2380 orig_rhs = rhs; 2380 orig_rhs = rhs;
2381 rhs = replace_termcodes(rhs, &arg_buf, 2381 rhs = replace_termcodes(rhs, &arg_buf,
2382 REPTERM_DO_LT | REPTERM_SPECIAL, NULL); 2382 REPTERM_DO_LT | REPTERM_SPECIAL, NULL);