rcfile: actually don't try to open things that cannot be syntax files
parent
281a56fb74
commit
1762920808
|
@ -539,6 +539,7 @@ static void parse_one_include(char *file)
|
||||||
rcfile_error(S_ISDIR(rcinfo.st_mode) ?
|
rcfile_error(S_ISDIR(rcinfo.st_mode) ?
|
||||||
_("\"%s\" is a directory") :
|
_("\"%s\" is a directory") :
|
||||||
_("\"%s\" is a device file"), file);
|
_("\"%s\" is a device file"), file);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Open the included syntax file. */
|
/* Open the included syntax file. */
|
||||||
|
|
Loading…
Reference in New Issue