Mercurial > vim
comparison src/proto/ex_docmd.pro @ 28635:dfe18756f2ad v8.2.4841
patch 8.2.4841: empty string considered an error for expand()
Commit: https://github.com/vim/vim/commit/a96edb736d4274fc4aea460800780e06e1510812
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 28 17:52:24 2022 +0100
patch 8.2.4841: empty string considered an error for expand()
Problem: Empty string considered an error for expand() when 'verbose' is
set. (Christian Brabandt)
Solution: Do not give an error for an empty result. (closes #10307)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Apr 2022 19:00:05 +0200 |
parents | 49631bf057d3 |
children | 49d8b54802f3 |
comparison
equal
deleted
inserted
replaced
28634:141b43248424 | 28635:dfe18756f2ad |
---|---|
61 void restore_current_state(save_state_T *sst); | 61 void restore_current_state(save_state_T *sst); |
62 void ex_normal(exarg_T *eap); | 62 void ex_normal(exarg_T *eap); |
63 void exec_normal_cmd(char_u *cmd, int remap, int silent); | 63 void exec_normal_cmd(char_u *cmd, int remap, int silent); |
64 void exec_normal(int was_typed, int use_vpeekc, int may_use_terminal_loop); | 64 void exec_normal(int was_typed, int use_vpeekc, int may_use_terminal_loop); |
65 int find_cmdline_var(char_u *src, int *usedlen); | 65 int find_cmdline_var(char_u *src, int *usedlen); |
66 char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped); | 66 char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped, int empty_is_error); |
67 char_u *expand_sfile(char_u *arg); | 67 char_u *expand_sfile(char_u *arg); |
68 void dialog_msg(char_u *buff, char *format, char_u *fname); | 68 void dialog_msg(char_u *buff, char *format, char_u *fname); |
69 void set_no_hlsearch(int flag); | 69 void set_no_hlsearch(int flag); |
70 int is_loclist_cmd(int cmdidx); | 70 int is_loclist_cmd(int cmdidx); |
71 int get_pressedreturn(void); | 71 int get_pressedreturn(void); |