summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-08-03 16:14:29 -0700
committerKevin McCarthy <kevin@8t8.us>2020-08-03 16:14:29 -0700
commit2fbc29ec127aa3d699def01e574f14996db8cacc (patch)
tree6f77dc5969ce365a38f81545a9f42e33c511130b /init.c
parent312e9bd9539260a175aedf22a1d86cf50372d721 (diff)
Allow my_var assignments to reference the $my_var in the value.
This is important for MuttLisp, where the current value could be used to determine the new assignment.
Diffstat (limited to 'init.c')
-rw-r--r--init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/init.c b/init.c
index 98aa58e3..363ce437 100644
--- a/init.c
+++ b/init.c
@@ -2389,7 +2389,6 @@ static int parse_set (BUFFER *tmp, BUFFER *s, union pointer_long_t udata, BUFFER
{
/* myvar is a pointer to tmp and will be lost on extract_token */
myvar = safe_strdup (myvar);
- myvar_del (myvar);
}
mutt_extract_token (tmp, s, 0);