summaryrefslogtreecommitdiff
path: root/mac
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-10-12 03:37:43 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-10-12 03:37:43 +0000
commitad9891f95127c163a9e1d56444e77fb1464d493c (patch)
tree98f5be4f70b9db7ef9e84b179f98324701026ff6 /mac
parenta3ccafd31c888fc43c3b06bcad8d8cb6fc3f1a59 (diff)
downloademacs-ad9891f95127c163a9e1d56444e77fb1464d493c.tar.gz
Update calls to openp.
Diffstat (limited to 'mac')
-rw-r--r--mac/ChangeLog7
-rw-r--r--mac/src/mac.c2
-rw-r--r--mac/src/macfns.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog
index c171375dc0f..f0867e4fd43 100644
--- a/mac/ChangeLog
+++ b/mac/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
+
+ * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
+ * src/mac.c (run_mac_command): Update calls to openp.
+
2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
* src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
@@ -8,7 +13,7 @@
2001-10-05 Gerd Moellmann <gerd@gnu.org>
* Branch for 21.1.
-
+
2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
diff --git a/mac/src/mac.c b/mac/src/mac.c
index d0c9d1a36c3..473273f13b7 100644
--- a/mac/src/mac.c
+++ b/mac/src/mac.c
@@ -2010,7 +2010,7 @@ run_mac_command (argv, workdir, infn, outfn, errfn)
strcat (t, newargv[0]);
#endif
Lisp_Object path;
- openp (Vexec_path, build_string (newargv[0]), EXEC_SUFFIXES, &path,
+ openp (Vexec_path, build_string (newargv[0]), Vexec_suffixes, &path,
1);
if (NILP (path))
diff --git a/mac/src/macfns.c b/mac/src/macfns.c
index 851b4d98036..9969ead9503 100644
--- a/mac/src/macfns.c
+++ b/mac/src/macfns.c
@@ -513,7 +513,7 @@ x_create_bitmap_from_file (f, file)
}
/* Search bitmap-file-path for the file, if appropriate. */
- fd = openp (Vx_bitmap_file_path, file, "", &found, 0);
+ fd = openp (Vx_bitmap_file_path, file, Qnil, &found, 0);
if (fd < 0)
return -1;
/* LoadLibraryEx won't handle special files handled by Emacs handler. */
@@ -5367,7 +5367,7 @@ x_find_image_file (file)
GCPRO2 (file_found, search_path);
/* Try to find FILE in data-directory, then x-bitmap-file-path. */
- fd = openp (search_path, file, "", &file_found, 0);
+ fd = openp (search_path, file, Qnil, &file_found, 0);
if (fd < 0)
file_found = Qnil;