summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-06 19:25:11 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-06 19:25:11 +0000
commitcafda4f89323b8e76818f03d81b1d0b1887862aa (patch)
treeee5f5d0f72b8563d197736948517604c677b7052 /src/eval.c
parent4440382f3c971684571e9c7494130cdd68567fd5 (diff)
downloadvim-git-cafda4f89323b8e76818f03d81b1d0b1887862aa.tar.gz
updated for version 7.0142v7.0142
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c
index 6547b46e7..448bd7f30 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -17583,6 +17583,7 @@ list_func_head(fp, indent)
MSG_PUTS("...");
}
msg_putchar(')');
+ msg_clr_eos();
#ifdef FEAT_EVAL
if (p_verbose > 0)
last_set_msg(fp->uf_script_ID);
@@ -18934,12 +18935,19 @@ store_session_globals(fd)
last_set_msg(scriptID)
scid_T scriptID;
{
+ char_u *p;
+
if (scriptID != 0)
{
- verbose_enter();
- MSG_PUTS(_("\n\tLast set from "));
- MSG_PUTS(get_scriptname(scriptID));
- verbose_leave();
+ p = home_replace_save(NULL, get_scriptname(scriptID));
+ if (p != NULL)
+ {
+ verbose_enter();
+ MSG_PUTS(_("\n\tLast set from "));
+ MSG_PUTS(p);
+ vim_free(p);
+ verbose_leave();
+ }
}
}