comparison src/ex_docmd.c @ 1471:e980e93d2ac2 v7.1.186

updated for version 7.1-186
author vimboss
date Wed, 02 Jan 2008 20:08:25 +0000
parents 198ea7a9c633
children 6d95d8976b00
comparison
equal deleted inserted replaced
1470:48b22e2eb1ed 1471:e980e93d2ac2
7797 #if defined(EXITFREE) || defined(PROTO) 7797 #if defined(EXITFREE) || defined(PROTO)
7798 void 7798 void
7799 free_cd_dir() 7799 free_cd_dir()
7800 { 7800 {
7801 vim_free(prev_dir); 7801 vim_free(prev_dir);
7802 prev_dir = NULL;
7802 } 7803 }
7803 #endif 7804 #endif
7804 7805
7805 7806
7806 /* 7807 /*
9519 if (result == NULL) 9520 if (result == NULL)
9520 { 9521 {
9521 *errormsg = (char_u *)_("E495: no autocommand file name to substitute for \"<afile>\""); 9522 *errormsg = (char_u *)_("E495: no autocommand file name to substitute for \"<afile>\"");
9522 return NULL; 9523 return NULL;
9523 } 9524 }
9525 result = shorten_fname1(result);
9524 break; 9526 break;
9525 9527
9526 case SPEC_ABUF: /* buffer number for autocommand */ 9528 case SPEC_ABUF: /* buffer number for autocommand */
9527 if (autocmd_bufnr <= 0) 9529 if (autocmd_bufnr <= 0)
9528 { 9530 {