Mercurial > vim
comparison src/proto/misc1.pro @ 13923:e4d5726e1678 v8.0.1832
patch 8.0.1832: cannot use :unlet for an environment variable
commit https://github.com/vim/vim/commit/137374fd6538cf9dee0cb22907728d8fdecb5832
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 13 15:59:50 2018 +0200
patch 8.0.1832: cannot use :unlet for an environment variable
Problem: Cannot use :unlet for an environment variable.
Solution: Make it work. Use unsetenv() if available. (Ken Takata,
closes #2855)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 May 2018 16:00:07 +0200 |
parents | 4dba3e4f3b01 |
children | 1174611ad715 |
comparison
equal
deleted
inserted
replaced
13922:1a30d378b70b | 13923:e4d5726e1678 |
---|---|
58 char_u *expand_env_save_opt(char_u *src, int one); | 58 char_u *expand_env_save_opt(char_u *src, int one); |
59 void expand_env(char_u *src, char_u *dst, int dstlen); | 59 void expand_env(char_u *src, char_u *dst, int dstlen); |
60 void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr); | 60 void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr); |
61 char_u *vim_getenv(char_u *name, int *mustfree); | 61 char_u *vim_getenv(char_u *name, int *mustfree); |
62 void vim_setenv(char_u *name, char_u *val); | 62 void vim_setenv(char_u *name, char_u *val); |
63 void vim_unsetenv(char_u *name); | |
63 char_u *get_env_name(expand_T *xp, int idx); | 64 char_u *get_env_name(expand_T *xp, int idx); |
64 char_u *get_users(expand_T *xp, int idx); | 65 char_u *get_users(expand_T *xp, int idx); |
65 int match_user(char_u *name); | 66 int match_user(char_u *name); |
66 void home_replace(buf_T *buf, char_u *src, char_u *dst, int dstlen, int one); | 67 void home_replace(buf_T *buf, char_u *src, char_u *dst, int dstlen, int one); |
67 char_u *home_replace_save(buf_T *buf, char_u *src); | 68 char_u *home_replace_save(buf_T *buf, char_u *src); |