+2011-02-15 Eli Zaretskii <eliz@gnu.org>
+
+ * nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
+
2011-02-14 Michael Welsh Duggan <md5i@md5i.com>
* print.c (float_to_string): Ensure that a decimal point is
BLOCK_INPUT;
pool = [[NSAutoreleasePool alloc] init];
- filename = XBUFFER (buf)->filename;
- name = XBUFFER (buf)->name;
+ filename = B_ (XBUFFER (buf), filename);
+ name = B_ (XBUFFER (buf), name);
if (NILP (name))
{
NSString *promptS = NILP (prompt) || !STRINGP (prompt) ? nil :
[NSString stringWithUTF8String: SDATA (prompt)];
NSString *dirS = NILP (dir) || !STRINGP (dir) ?
- [NSString stringWithUTF8String: SDATA (current_buffer->directory)] :
+ [NSString stringWithUTF8String: SDATA (B_ (current_buffer, directory))] :
[NSString stringWithUTF8String: SDATA (dir)];
NSString *initS = NILP (init) || !STRINGP (init) ? nil :
[NSString stringWithUTF8String: SDATA (init)];