649 |
} |
} |
650 |
|
|
651 |
/* Search bitmap-file-path for the file, if appropriate. */ |
/* Search bitmap-file-path for the file, if appropriate. */ |
652 |
fd = openp (Vx_bitmap_file_path, file, Qnil, &found, 0); |
fd = openp (Vx_bitmap_file_path, file, Qnil, &found, Qnil); |
653 |
if (fd < 0) |
if (fd < 0) |
654 |
return -1; |
return -1; |
655 |
emacs_close (fd); |
emacs_close (fd); |
6674 |
GCPRO2 (file_found, search_path); |
GCPRO2 (file_found, search_path); |
6675 |
|
|
6676 |
/* Try to find FILE in data-directory, then x-bitmap-file-path. */ |
/* Try to find FILE in data-directory, then x-bitmap-file-path. */ |
6677 |
fd = openp (search_path, file, Qnil, &file_found, 0); |
fd = openp (search_path, file, Qnil, &file_found, Qnil); |
6678 |
|
|
6679 |
if (fd == -1) |
if (fd == -1) |
6680 |
file_found = Qnil; |
file_found = Qnil; |