aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-09-18 05:42:12 +0000
committerYAMAMOTO Mitsuharu2005-09-18 05:42:12 +0000
commit3da64ce8fc7efe6c8ae5b135a3d5215176662df6 (patch)
treec2e967c1fb44cf466250b94ad2a52f160e7fced6 /src
parentfccb803e67290029c52f5fdd41e387ac33831e45 (diff)
downloademacs-3da64ce8fc7efe6c8ae5b135a3d5215176662df6.tar.gz
emacs-3da64ce8fc7efe6c8ae5b135a3d5215176662df6.zip
(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables.
[TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple file selection.
Diffstat (limited to 'src')
-rw-r--r--src/macfns.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/macfns.c b/src/macfns.c
index 160eb1f7774..3c92499701b 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -94,6 +94,11 @@ Lisp_Object Qcancel_timer;
94 94
95extern Lisp_Object Vwindow_system_version; 95extern Lisp_Object Vwindow_system_version;
96 96
97#if GLYPH_DEBUG
98int image_cache_refcount, dpyinfo_refcount;
99#endif
100
101
97#if 0 /* Use xstricmp instead. */ 102#if 0 /* Use xstricmp instead. */
98/* compare two strings ignoring case */ 103/* compare two strings ignoring case */
99 104
@@ -4145,6 +4150,7 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */)
4145 options.optionFlags = kNavDefaultNavDlogOptions; 4150 options.optionFlags = kNavDefaultNavDlogOptions;
4146 options.optionFlags |= kNavAllFilesInPopup; /* All files allowed */ 4151 options.optionFlags |= kNavAllFilesInPopup; /* All files allowed */
4147 options.optionFlags |= kNavSelectAllReadableItem; 4152 options.optionFlags |= kNavSelectAllReadableItem;
4153 options.optionFlags &= ~kNavAllowMultipleFiles;
4148 if (!NILP(prompt)) 4154 if (!NILP(prompt))
4149 { 4155 {
4150 message = cfstring_create_with_string (prompt); 4156 message = cfstring_create_with_string (prompt);