comparison src/eval.c @ 507:a1059cda45f2 v7.0142

updated for version 7.0142
author vimboss
date Tue, 06 Sep 2005 19:25:11 +0000
parents 7e6d264ec0a2
children f607f15ab091
comparison
equal deleted inserted replaced
506:3d386838cf56 507:a1059cda45f2
17581 if (j) 17581 if (j)
17582 MSG_PUTS(", "); 17582 MSG_PUTS(", ");
17583 MSG_PUTS("..."); 17583 MSG_PUTS("...");
17584 } 17584 }
17585 msg_putchar(')'); 17585 msg_putchar(')');
17586 msg_clr_eos();
17586 #ifdef FEAT_EVAL 17587 #ifdef FEAT_EVAL
17587 if (p_verbose > 0) 17588 if (p_verbose > 0)
17588 last_set_msg(fp->uf_script_ID); 17589 last_set_msg(fp->uf_script_ID);
17589 #endif 17590 #endif
17590 } 17591 }
18932 */ 18933 */
18933 void 18934 void
18934 last_set_msg(scriptID) 18935 last_set_msg(scriptID)
18935 scid_T scriptID; 18936 scid_T scriptID;
18936 { 18937 {
18938 char_u *p;
18939
18937 if (scriptID != 0) 18940 if (scriptID != 0)
18938 { 18941 {
18939 verbose_enter(); 18942 p = home_replace_save(NULL, get_scriptname(scriptID));
18940 MSG_PUTS(_("\n\tLast set from ")); 18943 if (p != NULL)
18941 MSG_PUTS(get_scriptname(scriptID)); 18944 {
18942 verbose_leave(); 18945 verbose_enter();
18946 MSG_PUTS(_("\n\tLast set from "));
18947 MSG_PUTS(p);
18948 vim_free(p);
18949 verbose_leave();
18950 }
18943 } 18951 }
18944 } 18952 }
18945 18953
18946 #endif /* FEAT_EVAL */ 18954 #endif /* FEAT_EVAL */
18947 18955