comparison src/fileio.c @ 856:8cd729851562 v7.0g

updated for version 7.0g
author vimboss
date Sun, 30 Apr 2006 18:54:39 +0000
parents d3bbb5dd3913
children e44efb3af0d5
comparison
equal deleted inserted replaced
855:d2a4f08396fe 856:8cd729851562
7760 int brace_level; 7760 int brace_level;
7761 char_u *endpat; 7761 char_u *endpat;
7762 int findgroup; 7762 int findgroup;
7763 int allgroups; 7763 int allgroups;
7764 int patlen; 7764 int patlen;
7765 int is_buflocal; 7765 int is_buflocal;
7766 int buflocal_nr; 7766 int buflocal_nr;
7767 char_u buflocal_pat[25]; /* for "<buffer=X>" */ 7767 char_u buflocal_pat[25]; /* for "<buffer=X>" */
7768 7768
7769 if (group == AUGROUP_ALL) 7769 if (group == AUGROUP_ALL)
7770 findgroup = current_augroup; 7770 findgroup = current_augroup;
8837 forward_slash(fname); 8837 forward_slash(fname);
8838 #endif 8838 #endif
8839 8839
8840 for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next) 8840 for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next)
8841 if (ap->pat != NULL && ap->cmds != NULL 8841 if (ap->pat != NULL && ap->cmds != NULL
8842 && (ap->buflocal_nr == 0 8842 && (ap->buflocal_nr == 0
8843 ? match_file_pat(NULL, ap->reg_prog, 8843 ? match_file_pat(NULL, ap->reg_prog,
8844 fname, sfname, tail, ap->allow_dirs) 8844 fname, sfname, tail, ap->allow_dirs)
8845 : buf != NULL && ap->buflocal_nr == buf->b_fnum 8845 : buf != NULL && ap->buflocal_nr == buf->b_fnum
8846 )) 8846 ))
8847 { 8847 {
8848 retval = TRUE; 8848 retval = TRUE;
8849 break; 8849 break;
8850 } 8850 }