diff options
author | Christian Brabandt <cb@256bit.org> | 2022-12-16 16:41:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-16 16:41:23 +0000 |
commit | 9aee8ec400fe617f6d82441c46a22d0cef6fa3e6 (patch) | |
tree | d8ef22c2177d59f1196dc7d82c540612eff3813c /src/proto/optionstr.pro | |
parent | 4ab1f4a32f7e0fcafa8f542429f1f6c47dcd5d2c (diff) |
patch 9.0.1064: code for making 'shortmess' temporarily empty is repeatedv9.0.1064
Problem: Code for making 'shortmess' temporarily empty is repeated.
Solution: Add functions for making 'shortmess' empty and restoring it.
(Christian Brabandt, closes #11709)
Diffstat (limited to 'src/proto/optionstr.pro')
-rw-r--r-- | src/proto/optionstr.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/optionstr.pro b/src/proto/optionstr.pro index 1fa6c562c7..e75e3dcdb7 100644 --- a/src/proto/optionstr.pro +++ b/src/proto/optionstr.pro @@ -11,4 +11,6 @@ void set_string_option_direct_in_buf(buf_T *buf, char_u *name, int opt_idx, char char *set_string_option(int opt_idx, char_u *value, int opt_flags); char *did_set_string_option(int opt_idx, char_u **varp, char_u *oldval, char *errbuf, int opt_flags, int *value_checked); int check_ff_value(char_u *p); +void save_clear_shm_value(void); +void restore_shm_value(void); /* vim: set ft=c : */ |